@burdenoff/microfe-billing 2026.612.1 → 2026.623.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/billing/BillingAdminRoutes.js +7 -6
- package/dist/billing/BillingAdminRoutes.js.map +1 -1
- package/dist/billing/BillingRoot.js +1 -1
- package/dist/billing/BillingRoot.js.map +1 -1
- package/dist/billing/modules/addons/components/FloatingCartDrawer.js +22 -22
- package/dist/billing/modules/addons/components/FloatingCartDrawer.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonCreatePage.js +31 -31
- package/dist/billing/modules/addons/pages/AddonCreatePage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonDetailPage.js +39 -39
- package/dist/billing/modules/addons/pages/AddonDetailPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonEditPage.js +29 -29
- package/dist/billing/modules/addons/pages/AddonEditPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonsListPage.js +91 -91
- package/dist/billing/modules/addons/pages/AddonsListPage.js.map +1 -1
- package/dist/billing/modules/analytics/pages/AnalyticsPage.js +40 -40
- package/dist/billing/modules/analytics/pages/AnalyticsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.js +115 -115
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/InvoicesListPage.js +75 -72
- package/dist/billing/modules/billing/pages/InvoicesListPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/RefundsPage.js +126 -126
- package/dist/billing/modules/billing/pages/RefundsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/UserRefundsPage.js +45 -45
- package/dist/billing/modules/billing/pages/UserRefundsPage.js.map +1 -1
- package/dist/billing/modules/checkout/components/BillingAccountSelector.js +25 -25
- package/dist/billing/modules/checkout/components/BillingAccountSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js +31 -35
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js.map +1 -1
- package/dist/billing/modules/checkout/components/CreditsAmountInput.js +9 -9
- package/dist/billing/modules/checkout/components/CreditsAmountInput.js.map +1 -1
- package/dist/billing/modules/checkout/components/OrderSummary.js +31 -31
- package/dist/billing/modules/checkout/components/OrderSummary.js.map +1 -1
- package/dist/billing/modules/checkout/components/PromoCodeInput.js +8 -8
- package/dist/billing/modules/checkout/components/PromoCodeInput.js.map +1 -1
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.js +5 -5
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.js.map +1 -1
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.js +9 -9
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.js.map +1 -1
- package/dist/billing/modules/checkout/components/StripePaymentForm.js +21 -21
- package/dist/billing/modules/checkout/components/StripePaymentForm.js.map +1 -1
- package/dist/billing/modules/checkout/components/SubscriptionSelector.js +11 -11
- package/dist/billing/modules/checkout/components/SubscriptionSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.js +31 -31
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js +23 -23
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js.map +1 -1
- package/dist/billing/modules/checkout/hooks/useCheckout.js +215 -174
- package/dist/billing/modules/checkout/hooks/useCheckout.js.map +1 -1
- package/dist/billing/modules/checkout/pages/CheckoutPage.js +93 -93
- package/dist/billing/modules/checkout/pages/CheckoutPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CouponDetailPage.js +62 -62
- package/dist/billing/modules/coupons/pages/CouponDetailPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CouponsListPage.js +72 -60
- package/dist/billing/modules/coupons/pages/CouponsListPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CreateCouponPage.js +66 -66
- package/dist/billing/modules/coupons/pages/CreateCouponPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/EditCouponPage.js +46 -46
- package/dist/billing/modules/coupons/pages/EditCouponPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/AdminCreditsPage.js +19 -19
- package/dist/billing/modules/credits/pages/AdminCreditsPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.js +37 -37
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js +90 -90
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditsPage.js +41 -41
- package/dist/billing/modules/credits/pages/CreditsPage.js.map +1 -1
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js +31 -31
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js.map +1 -1
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js +35 -35
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js.map +1 -1
- package/dist/billing/modules/dashboard/components/BillingAccountCard.js +24 -24
- package/dist/billing/modules/dashboard/components/BillingAccountCard.js.map +1 -1
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js +99 -99
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js.map +1 -1
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js +23 -23
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js.map +1 -1
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js +22 -22
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js.map +1 -1
- package/dist/billing/modules/dashboard/pages/OverviewPage.js +58 -58
- package/dist/billing/modules/dashboard/pages/OverviewPage.js.map +1 -1
- package/dist/billing/modules/discounts/pages/DiscountsListPage.js +126 -126
- package/dist/billing/modules/discounts/pages/DiscountsListPage.js.map +1 -1
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.js +83 -79
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.js +16 -16
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js +40 -40
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanCreatePage.js +35 -35
- package/dist/billing/modules/plans/pages/PlanCreatePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanDetailPage.js +57 -57
- package/dist/billing/modules/plans/pages/PlanDetailPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanEditPage.js +35 -35
- package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansBrowsePage.js +57 -57
- package/dist/billing/modules/plans/pages/PlansBrowsePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansListPage.js +52 -52
- package/dist/billing/modules/plans/pages/PlansListPage.js.map +1 -1
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js +40 -39
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js.map +1 -1
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js +22 -19
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js +34 -34
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js +46 -46
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js +39 -39
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js +50 -50
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js +23 -23
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js +259 -246
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js +88 -85
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js +51 -51
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js.map +1 -1
- package/dist/billing/modules/usage/pages/UsagePage.js +206 -196
- package/dist/billing/modules/usage/pages/UsagePage.js.map +1 -1
- package/dist/billing/shared/components/ServerError.js +4 -4
- package/dist/billing/shared/components/ServerError.js.map +1 -1
- package/dist/billing/shared/components/StatCard.js +11 -33
- package/dist/billing/shared/components/StatCard.js.map +1 -1
- package/dist/billing/shared/ui/Card.js +15 -0
- package/dist/billing/shared/ui/Card.js.map +1 -0
- package/dist/billing/shared/ui/MetricCard.js +44 -0
- package/dist/billing/shared/ui/MetricCard.js.map +1 -0
- package/dist/billing/shared/ui/ProgressBar.js +30 -0
- package/dist/billing/shared/ui/ProgressBar.js.map +1 -0
- package/dist/billing/shared/ui/SectionHeader.js +2 -0
- package/dist/billing/shared/ui/StatusPill.js +28 -0
- package/dist/billing/shared/ui/StatusPill.js.map +1 -0
- package/dist/billing/shared/ui/index.js +5 -0
- package/dist/billing/shared/utils/tokens.js +13 -30
- package/dist/billing/shared/utils/tokens.js.map +1 -1
- package/dist/generated/global-operations.js +265 -245
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -1234,6 +1234,26 @@ function je(t) {
|
|
|
1234
1234
|
return e.useQuery(G, r);
|
|
1235
1235
|
}
|
|
1236
1236
|
var Me = t`
|
|
1237
|
+
mutation CreateBillingOrderCheckout($input: CreateBillingOrderInput!) {
|
|
1238
|
+
createBillingOrder(input: $input) {
|
|
1239
|
+
success
|
|
1240
|
+
error
|
|
1241
|
+
order {
|
|
1242
|
+
id
|
|
1243
|
+
status
|
|
1244
|
+
currency
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
`;
|
|
1249
|
+
function Ne(t) {
|
|
1250
|
+
let r = {
|
|
1251
|
+
...n,
|
|
1252
|
+
...t
|
|
1253
|
+
};
|
|
1254
|
+
return e.useMutation(Me, r);
|
|
1255
|
+
}
|
|
1256
|
+
var Pe = t`
|
|
1237
1257
|
mutation InitiatePaymentCheckout($input: InitiatePaymentInput!) {
|
|
1238
1258
|
initiatePayment(input: $input) {
|
|
1239
1259
|
success
|
|
@@ -1260,26 +1280,26 @@ var Me = t`
|
|
|
1260
1280
|
}
|
|
1261
1281
|
}
|
|
1262
1282
|
`;
|
|
1263
|
-
function
|
|
1283
|
+
function Fe(t) {
|
|
1264
1284
|
let r = {
|
|
1265
1285
|
...n,
|
|
1266
1286
|
...t
|
|
1267
1287
|
};
|
|
1268
|
-
return e.useMutation(
|
|
1288
|
+
return e.useMutation(Pe, r);
|
|
1269
1289
|
}
|
|
1270
|
-
var
|
|
1290
|
+
var Ie = t`
|
|
1271
1291
|
mutation SpendCreditsCheckout($input: SpendCreditsInput!) {
|
|
1272
1292
|
spendCredits(input: $input) {
|
|
1273
1293
|
creditTransactionID
|
|
1274
1294
|
}
|
|
1275
1295
|
}
|
|
1276
1296
|
`;
|
|
1277
|
-
function
|
|
1297
|
+
function Le(t) {
|
|
1278
1298
|
let r = {
|
|
1279
1299
|
...n,
|
|
1280
1300
|
...t
|
|
1281
1301
|
};
|
|
1282
|
-
return e.useMutation(
|
|
1302
|
+
return e.useMutation(Ie, r);
|
|
1283
1303
|
}
|
|
1284
1304
|
t`
|
|
1285
1305
|
query CalculateTax($input: CalculateTaxInput!) {
|
|
@@ -1294,7 +1314,7 @@ t`
|
|
|
1294
1314
|
}
|
|
1295
1315
|
}
|
|
1296
1316
|
`;
|
|
1297
|
-
var
|
|
1317
|
+
var Re = t`
|
|
1298
1318
|
query ConvertCurrency($amount: Float!, $toCurrency: String!, $fromCurrency: String) {
|
|
1299
1319
|
convertCurrency(
|
|
1300
1320
|
amount: $amount
|
|
@@ -1308,14 +1328,14 @@ var Ie = t`
|
|
|
1308
1328
|
}
|
|
1309
1329
|
}
|
|
1310
1330
|
`;
|
|
1311
|
-
function
|
|
1331
|
+
function ze(t) {
|
|
1312
1332
|
let r = {
|
|
1313
1333
|
...n,
|
|
1314
1334
|
...t
|
|
1315
1335
|
};
|
|
1316
|
-
return e.useLazyQuery(
|
|
1336
|
+
return e.useLazyQuery(Re, r);
|
|
1317
1337
|
}
|
|
1318
|
-
var
|
|
1338
|
+
var Be = t`
|
|
1319
1339
|
query GetActiveSubscriptionsCheckout($billingAccountId: ID!) {
|
|
1320
1340
|
getActiveSubscriptions(billingAccountId: $billingAccountId) {
|
|
1321
1341
|
id
|
|
@@ -1341,14 +1361,14 @@ var Re = t`
|
|
|
1341
1361
|
}
|
|
1342
1362
|
}
|
|
1343
1363
|
`;
|
|
1344
|
-
function
|
|
1364
|
+
function Ve(t) {
|
|
1345
1365
|
let r = {
|
|
1346
1366
|
...n,
|
|
1347
1367
|
...t
|
|
1348
1368
|
};
|
|
1349
|
-
return e.useQuery(
|
|
1369
|
+
return e.useQuery(Be, r);
|
|
1350
1370
|
}
|
|
1351
|
-
var
|
|
1371
|
+
var He = t`
|
|
1352
1372
|
query GetSelectedAddonCheckout($addonIDs: [String!]!) {
|
|
1353
1373
|
getSelectedAddons(addonIDs: $addonIDs) {
|
|
1354
1374
|
id
|
|
@@ -1371,14 +1391,14 @@ var Be = t`
|
|
|
1371
1391
|
}
|
|
1372
1392
|
}
|
|
1373
1393
|
`;
|
|
1374
|
-
function
|
|
1394
|
+
function Ue(t) {
|
|
1375
1395
|
let r = {
|
|
1376
1396
|
...n,
|
|
1377
1397
|
...t
|
|
1378
1398
|
};
|
|
1379
|
-
return e.useQuery(
|
|
1399
|
+
return e.useQuery(He, r);
|
|
1380
1400
|
}
|
|
1381
|
-
var
|
|
1401
|
+
var We = t`
|
|
1382
1402
|
query GetBillingAccountsCheckout {
|
|
1383
1403
|
getBillingAccountsByOrg {
|
|
1384
1404
|
id
|
|
@@ -1399,28 +1419,28 @@ var He = t`
|
|
|
1399
1419
|
}
|
|
1400
1420
|
}
|
|
1401
1421
|
`;
|
|
1402
|
-
function
|
|
1422
|
+
function Ge(t) {
|
|
1403
1423
|
let r = {
|
|
1404
1424
|
...n,
|
|
1405
1425
|
...t
|
|
1406
1426
|
};
|
|
1407
|
-
return e.useQuery(
|
|
1427
|
+
return e.useQuery(We, r);
|
|
1408
1428
|
}
|
|
1409
|
-
var
|
|
1429
|
+
var Ke = t`
|
|
1410
1430
|
query GetCostOfCreditsCheckout($creditAmount: Float!, $currency: String!) {
|
|
1411
1431
|
getCostOfCredits(creditAmount: $creditAmount, currency: $currency) {
|
|
1412
1432
|
amount
|
|
1413
1433
|
}
|
|
1414
1434
|
}
|
|
1415
1435
|
`;
|
|
1416
|
-
function
|
|
1436
|
+
function qe(t) {
|
|
1417
1437
|
let r = {
|
|
1418
1438
|
...n,
|
|
1419
1439
|
...t
|
|
1420
1440
|
};
|
|
1421
|
-
return e.useQuery(
|
|
1441
|
+
return e.useQuery(Ke, r);
|
|
1422
1442
|
}
|
|
1423
|
-
var
|
|
1443
|
+
var Je = t`
|
|
1424
1444
|
query GetCreditTransactionStatus($creditTransactionID: ID!, $billingAccountId: ID!) {
|
|
1425
1445
|
getCreditTransactionDetails(
|
|
1426
1446
|
creditTransactionID: $creditTransactionID
|
|
@@ -1439,14 +1459,14 @@ var Ke = t`
|
|
|
1439
1459
|
}
|
|
1440
1460
|
}
|
|
1441
1461
|
`;
|
|
1442
|
-
function
|
|
1462
|
+
function Ye(t) {
|
|
1443
1463
|
let r = {
|
|
1444
1464
|
...n,
|
|
1445
1465
|
...t
|
|
1446
1466
|
};
|
|
1447
|
-
return e.useLazyQuery(
|
|
1467
|
+
return e.useLazyQuery(Je, r);
|
|
1448
1468
|
}
|
|
1449
|
-
var
|
|
1469
|
+
var Xe = t`
|
|
1450
1470
|
query GetDefaultBillingAccountCheckout {
|
|
1451
1471
|
getDefaultBillingAccount {
|
|
1452
1472
|
id
|
|
@@ -1458,12 +1478,12 @@ var Je = t`
|
|
|
1458
1478
|
}
|
|
1459
1479
|
}
|
|
1460
1480
|
`;
|
|
1461
|
-
function
|
|
1481
|
+
function Ze(t) {
|
|
1462
1482
|
let r = {
|
|
1463
1483
|
...n,
|
|
1464
1484
|
...t
|
|
1465
1485
|
};
|
|
1466
|
-
return e.useQuery(
|
|
1486
|
+
return e.useQuery(Xe, r);
|
|
1467
1487
|
}
|
|
1468
1488
|
t`
|
|
1469
1489
|
query GetDiscountByCode($code: String!) {
|
|
@@ -1480,7 +1500,7 @@ t`
|
|
|
1480
1500
|
}
|
|
1481
1501
|
}
|
|
1482
1502
|
`;
|
|
1483
|
-
var
|
|
1503
|
+
var Qe = t`
|
|
1484
1504
|
query GetPaymentMethodsCheckout($billingAccountId: ID!) {
|
|
1485
1505
|
getPaymentMethods(billingAccountId: $billingAccountId) {
|
|
1486
1506
|
id
|
|
@@ -1497,14 +1517,14 @@ var Xe = t`
|
|
|
1497
1517
|
}
|
|
1498
1518
|
}
|
|
1499
1519
|
`;
|
|
1500
|
-
function
|
|
1520
|
+
function $e(t) {
|
|
1501
1521
|
let r = {
|
|
1502
1522
|
...n,
|
|
1503
1523
|
...t
|
|
1504
1524
|
};
|
|
1505
|
-
return e.useQuery(
|
|
1525
|
+
return e.useQuery(Qe, r);
|
|
1506
1526
|
}
|
|
1507
|
-
var
|
|
1527
|
+
var et = t`
|
|
1508
1528
|
query GetPaymentProviderConfigCheckout {
|
|
1509
1529
|
getPaymentProviderConfig {
|
|
1510
1530
|
stripeEnabled
|
|
@@ -1514,14 +1534,14 @@ var Qe = t`
|
|
|
1514
1534
|
}
|
|
1515
1535
|
}
|
|
1516
1536
|
`;
|
|
1517
|
-
function
|
|
1537
|
+
function tt(t) {
|
|
1518
1538
|
let r = {
|
|
1519
1539
|
...n,
|
|
1520
1540
|
...t
|
|
1521
1541
|
};
|
|
1522
|
-
return e.useQuery(
|
|
1542
|
+
return e.useQuery(et, r);
|
|
1523
1543
|
}
|
|
1524
|
-
var
|
|
1544
|
+
var nt = t`
|
|
1525
1545
|
query GetPaymentStatus($id: ID!, $billingAccountId: ID!) {
|
|
1526
1546
|
getPayment(id: $id, billingAccountId: $billingAccountId) {
|
|
1527
1547
|
id
|
|
@@ -1535,14 +1555,14 @@ var et = t`
|
|
|
1535
1555
|
}
|
|
1536
1556
|
}
|
|
1537
1557
|
`;
|
|
1538
|
-
function
|
|
1558
|
+
function rt(t) {
|
|
1539
1559
|
let r = {
|
|
1540
1560
|
...n,
|
|
1541
1561
|
...t
|
|
1542
1562
|
};
|
|
1543
|
-
return e.useLazyQuery(
|
|
1563
|
+
return e.useLazyQuery(nt, r);
|
|
1544
1564
|
}
|
|
1545
|
-
var
|
|
1565
|
+
var it = t`
|
|
1546
1566
|
query GetPlanCheckout($id: ID!) {
|
|
1547
1567
|
getPlan(id: $id) {
|
|
1548
1568
|
id
|
|
@@ -1565,14 +1585,14 @@ var nt = t`
|
|
|
1565
1585
|
}
|
|
1566
1586
|
}
|
|
1567
1587
|
`;
|
|
1568
|
-
function
|
|
1588
|
+
function at(t) {
|
|
1569
1589
|
let r = {
|
|
1570
1590
|
...n,
|
|
1571
1591
|
...t
|
|
1572
1592
|
};
|
|
1573
|
-
return e.useQuery(
|
|
1593
|
+
return e.useQuery(it, r);
|
|
1574
1594
|
}
|
|
1575
|
-
var
|
|
1595
|
+
var ot = t`
|
|
1576
1596
|
query GetStoreOrderCheckout($id: ID!) {
|
|
1577
1597
|
getStoreOrder(id: $id) {
|
|
1578
1598
|
id
|
|
@@ -1591,14 +1611,14 @@ var it = t`
|
|
|
1591
1611
|
}
|
|
1592
1612
|
}
|
|
1593
1613
|
`;
|
|
1594
|
-
function
|
|
1614
|
+
function st(t) {
|
|
1595
1615
|
let r = {
|
|
1596
1616
|
...n,
|
|
1597
1617
|
...t
|
|
1598
1618
|
};
|
|
1599
|
-
return e.useQuery(
|
|
1619
|
+
return e.useQuery(ot, r);
|
|
1600
1620
|
}
|
|
1601
|
-
var
|
|
1621
|
+
var ct = t`
|
|
1602
1622
|
mutation CreateCoupon($input: CreateCouponInput!) {
|
|
1603
1623
|
createCoupon(input: $input) {
|
|
1604
1624
|
id
|
|
@@ -1628,56 +1648,56 @@ var ot = t`
|
|
|
1628
1648
|
}
|
|
1629
1649
|
}
|
|
1630
1650
|
`;
|
|
1631
|
-
function
|
|
1651
|
+
function lt(t) {
|
|
1632
1652
|
let r = {
|
|
1633
1653
|
...n,
|
|
1634
1654
|
...t
|
|
1635
1655
|
};
|
|
1636
|
-
return e.useMutation(
|
|
1656
|
+
return e.useMutation(ct, r);
|
|
1637
1657
|
}
|
|
1638
|
-
var
|
|
1658
|
+
var ut = t`
|
|
1639
1659
|
mutation DeactivateCoupon($id: ID!) {
|
|
1640
1660
|
deactivateCoupon(id: $id) {
|
|
1641
1661
|
...CouponFields
|
|
1642
1662
|
}
|
|
1643
1663
|
}
|
|
1644
1664
|
${y}`;
|
|
1645
|
-
function
|
|
1665
|
+
function dt(t) {
|
|
1646
1666
|
let r = {
|
|
1647
1667
|
...n,
|
|
1648
1668
|
...t
|
|
1649
1669
|
};
|
|
1650
|
-
return e.useMutation(
|
|
1670
|
+
return e.useMutation(ut, r);
|
|
1651
1671
|
}
|
|
1652
|
-
var
|
|
1672
|
+
var ft = t`
|
|
1653
1673
|
mutation UpdateCoupon($id: ID!, $input: UpdateCouponInput!) {
|
|
1654
1674
|
updateCoupon(id: $id, input: $input) {
|
|
1655
1675
|
...CouponFields
|
|
1656
1676
|
}
|
|
1657
1677
|
}
|
|
1658
1678
|
${y}`;
|
|
1659
|
-
function
|
|
1679
|
+
function pt(t) {
|
|
1660
1680
|
let r = {
|
|
1661
1681
|
...n,
|
|
1662
1682
|
...t
|
|
1663
1683
|
};
|
|
1664
|
-
return e.useMutation(
|
|
1684
|
+
return e.useMutation(ft, r);
|
|
1665
1685
|
}
|
|
1666
|
-
var
|
|
1686
|
+
var mt = t`
|
|
1667
1687
|
query GetCoupon($id: ID!) {
|
|
1668
1688
|
getCoupon(id: $id) {
|
|
1669
1689
|
...CouponFields
|
|
1670
1690
|
}
|
|
1671
1691
|
}
|
|
1672
1692
|
${y}`;
|
|
1673
|
-
function
|
|
1693
|
+
function ht(t) {
|
|
1674
1694
|
let r = {
|
|
1675
1695
|
...n,
|
|
1676
1696
|
...t
|
|
1677
1697
|
};
|
|
1678
|
-
return e.useLazyQuery(
|
|
1698
|
+
return e.useLazyQuery(mt, r);
|
|
1679
1699
|
}
|
|
1680
|
-
var
|
|
1700
|
+
var gt = t`
|
|
1681
1701
|
query GetCouponUsageHistory($couponId: ID, $userId: String, $limit: Int, $offset: Int) {
|
|
1682
1702
|
getCouponUsageHistory(
|
|
1683
1703
|
couponId: $couponId
|
|
@@ -1702,14 +1722,14 @@ var mt = t`
|
|
|
1702
1722
|
}
|
|
1703
1723
|
}
|
|
1704
1724
|
`;
|
|
1705
|
-
function
|
|
1725
|
+
function _t(t) {
|
|
1706
1726
|
let r = {
|
|
1707
1727
|
...n,
|
|
1708
1728
|
...t
|
|
1709
1729
|
};
|
|
1710
|
-
return e.useQuery(
|
|
1730
|
+
return e.useQuery(gt, r);
|
|
1711
1731
|
}
|
|
1712
|
-
var
|
|
1732
|
+
var vt = t`
|
|
1713
1733
|
query ListCoupons($filter: CouponFilterInput, $limit: Int, $offset: Int) {
|
|
1714
1734
|
listCoupons(filter: $filter, limit: $limit, offset: $offset) {
|
|
1715
1735
|
coupons {
|
|
@@ -1738,14 +1758,14 @@ var gt = t`
|
|
|
1738
1758
|
}
|
|
1739
1759
|
}
|
|
1740
1760
|
`;
|
|
1741
|
-
function
|
|
1761
|
+
function yt(t) {
|
|
1742
1762
|
let r = {
|
|
1743
1763
|
...n,
|
|
1744
1764
|
...t
|
|
1745
1765
|
};
|
|
1746
|
-
return e.useQuery(
|
|
1766
|
+
return e.useQuery(vt, r);
|
|
1747
1767
|
}
|
|
1748
|
-
var
|
|
1768
|
+
var bt = t`
|
|
1749
1769
|
query ValidateCoupon($input: ValidateCouponInput!) {
|
|
1750
1770
|
validateCoupon(input: $input) {
|
|
1751
1771
|
valid
|
|
@@ -1764,14 +1784,14 @@ var vt = t`
|
|
|
1764
1784
|
}
|
|
1765
1785
|
}
|
|
1766
1786
|
`;
|
|
1767
|
-
function
|
|
1787
|
+
function xt(t) {
|
|
1768
1788
|
let r = {
|
|
1769
1789
|
...n,
|
|
1770
1790
|
...t
|
|
1771
1791
|
};
|
|
1772
|
-
return e.useLazyQuery(
|
|
1792
|
+
return e.useLazyQuery(bt, r);
|
|
1773
1793
|
}
|
|
1774
|
-
var
|
|
1794
|
+
var St = t`
|
|
1775
1795
|
mutation CreateCreditNote($billingAccountId: ID!, $amount: Float!, $reason: String, $invoiceId: String, $currency: String, $metadata: JSON) {
|
|
1776
1796
|
createCreditNote(
|
|
1777
1797
|
billingAccountId: $billingAccountId
|
|
@@ -1785,14 +1805,14 @@ var bt = t`
|
|
|
1785
1805
|
}
|
|
1786
1806
|
}
|
|
1787
1807
|
${p}`;
|
|
1788
|
-
function
|
|
1808
|
+
function Ct(t) {
|
|
1789
1809
|
let r = {
|
|
1790
1810
|
...n,
|
|
1791
1811
|
...t
|
|
1792
1812
|
};
|
|
1793
|
-
return e.useMutation(
|
|
1813
|
+
return e.useMutation(St, r);
|
|
1794
1814
|
}
|
|
1795
|
-
var
|
|
1815
|
+
var wt = t`
|
|
1796
1816
|
mutation GrantCredits($input: GrantCreditsInput!) {
|
|
1797
1817
|
grantCredits(input: $input) {
|
|
1798
1818
|
id
|
|
@@ -1807,7 +1827,7 @@ var St = t`
|
|
|
1807
1827
|
updatedAt
|
|
1808
1828
|
}
|
|
1809
1829
|
}
|
|
1810
|
-
`,
|
|
1830
|
+
`, Tt = t`
|
|
1811
1831
|
mutation RequestCreditWithdrawal($input: RequestCreditWithdrawalInput!) {
|
|
1812
1832
|
requestCreditWithdrawal(input: $input) {
|
|
1813
1833
|
id
|
|
@@ -1816,7 +1836,7 @@ var St = t`
|
|
|
1816
1836
|
currency
|
|
1817
1837
|
}
|
|
1818
1838
|
}
|
|
1819
|
-
`,
|
|
1839
|
+
`, Et = t`
|
|
1820
1840
|
query CreditWithdrawalHistory($billingAccountId: ID!) {
|
|
1821
1841
|
myPayoutRequests(billingAccountId: $billingAccountId, limit: 20, offset: 0) {
|
|
1822
1842
|
items {
|
|
@@ -1843,7 +1863,7 @@ var St = t`
|
|
|
1843
1863
|
}
|
|
1844
1864
|
}
|
|
1845
1865
|
}
|
|
1846
|
-
`,
|
|
1866
|
+
`, Dt = t`
|
|
1847
1867
|
query GetBillingAccountCreditTransactions($billingAccountID: ID!, $days: Int!, $page: Int, $pageSize: Int) {
|
|
1848
1868
|
getBillingAccountCreditTransactions(
|
|
1849
1869
|
billingAccountID: $billingAccountID
|
|
@@ -1873,12 +1893,12 @@ var St = t`
|
|
|
1873
1893
|
}
|
|
1874
1894
|
}
|
|
1875
1895
|
${m}`;
|
|
1876
|
-
function
|
|
1896
|
+
function Ot(t) {
|
|
1877
1897
|
let r = {
|
|
1878
1898
|
...n,
|
|
1879
1899
|
...t
|
|
1880
1900
|
};
|
|
1881
|
-
return e.useQuery(
|
|
1901
|
+
return e.useQuery(Dt, r);
|
|
1882
1902
|
}
|
|
1883
1903
|
t`
|
|
1884
1904
|
query GetCostOfCredits($creditAmount: Float!, $currency: String!) {
|
|
@@ -1887,7 +1907,7 @@ t`
|
|
|
1887
1907
|
}
|
|
1888
1908
|
}
|
|
1889
1909
|
`;
|
|
1890
|
-
var
|
|
1910
|
+
var kt = t`
|
|
1891
1911
|
query GetCreditBalanceByType($billingAccountId: ID!) {
|
|
1892
1912
|
getCreditBalanceByType(billingAccountId: $billingAccountId) {
|
|
1893
1913
|
purchased
|
|
@@ -1897,7 +1917,7 @@ var Dt = t`
|
|
|
1897
1917
|
total
|
|
1898
1918
|
}
|
|
1899
1919
|
}
|
|
1900
|
-
`,
|
|
1920
|
+
`, At = t`
|
|
1901
1921
|
query GetCreditNotes {
|
|
1902
1922
|
getCreditNotes {
|
|
1903
1923
|
...CreditNoteFields
|
|
@@ -1930,47 +1950,47 @@ t`
|
|
|
1930
1950
|
}
|
|
1931
1951
|
}
|
|
1932
1952
|
${m}`;
|
|
1933
|
-
var
|
|
1953
|
+
var jt = t`
|
|
1934
1954
|
mutation AddPaymentMethodDashboard($input: CreatePaymentMethodInput!) {
|
|
1935
1955
|
addPaymentMethod(input: $input) {
|
|
1936
1956
|
...DashboardPaymentMethodFields
|
|
1937
1957
|
}
|
|
1938
1958
|
}
|
|
1939
1959
|
${v}`;
|
|
1940
|
-
function
|
|
1960
|
+
function Mt(t) {
|
|
1941
1961
|
let r = {
|
|
1942
1962
|
...n,
|
|
1943
1963
|
...t
|
|
1944
1964
|
};
|
|
1945
|
-
return e.useMutation(
|
|
1965
|
+
return e.useMutation(jt, r);
|
|
1946
1966
|
}
|
|
1947
|
-
var
|
|
1967
|
+
var Nt = t`
|
|
1948
1968
|
mutation CreateBillingAccount($input: CreateBillingAccountInput!) {
|
|
1949
1969
|
createBillingAccount(input: $input) {
|
|
1950
1970
|
...BillingAccountFields
|
|
1951
1971
|
}
|
|
1952
1972
|
}
|
|
1953
1973
|
${g}`;
|
|
1954
|
-
function
|
|
1974
|
+
function Pt(t) {
|
|
1955
1975
|
let r = {
|
|
1956
1976
|
...n,
|
|
1957
1977
|
...t
|
|
1958
1978
|
};
|
|
1959
|
-
return e.useMutation(
|
|
1979
|
+
return e.useMutation(Nt, r);
|
|
1960
1980
|
}
|
|
1961
|
-
var
|
|
1981
|
+
var Ft = t`
|
|
1962
1982
|
mutation DeletePaymentMethodDashboard($id: ID!, $billingAccountId: ID!) {
|
|
1963
1983
|
deletePaymentMethod(id: $id, billingAccountId: $billingAccountId)
|
|
1964
1984
|
}
|
|
1965
1985
|
`;
|
|
1966
|
-
function
|
|
1986
|
+
function It(t) {
|
|
1967
1987
|
let r = {
|
|
1968
1988
|
...n,
|
|
1969
1989
|
...t
|
|
1970
1990
|
};
|
|
1971
|
-
return e.useMutation(
|
|
1991
|
+
return e.useMutation(Ft, r);
|
|
1972
1992
|
}
|
|
1973
|
-
var
|
|
1993
|
+
var Lt = t`
|
|
1974
1994
|
mutation InitiatePayment($input: InitiatePaymentInput!) {
|
|
1975
1995
|
initiatePayment(input: $input) {
|
|
1976
1996
|
success
|
|
@@ -1990,70 +2010,70 @@ var Ft = t`
|
|
|
1990
2010
|
}
|
|
1991
2011
|
}
|
|
1992
2012
|
`;
|
|
1993
|
-
function
|
|
2013
|
+
function Rt(t) {
|
|
1994
2014
|
let r = {
|
|
1995
2015
|
...n,
|
|
1996
2016
|
...t
|
|
1997
2017
|
};
|
|
1998
|
-
return e.useMutation(
|
|
2018
|
+
return e.useMutation(Lt, r);
|
|
1999
2019
|
}
|
|
2000
|
-
var
|
|
2020
|
+
var zt = t`
|
|
2001
2021
|
mutation SetBillingAddress($input: SetBillingAddressInput!) {
|
|
2002
2022
|
setBillingAddress(input: $input) {
|
|
2003
2023
|
...BillingAddressFields
|
|
2004
2024
|
}
|
|
2005
2025
|
}
|
|
2006
2026
|
${_}`;
|
|
2007
|
-
function
|
|
2027
|
+
function Bt(t) {
|
|
2008
2028
|
let r = {
|
|
2009
2029
|
...n,
|
|
2010
2030
|
...t
|
|
2011
2031
|
};
|
|
2012
|
-
return e.useMutation(
|
|
2032
|
+
return e.useMutation(zt, r);
|
|
2013
2033
|
}
|
|
2014
|
-
var
|
|
2034
|
+
var Vt = t`
|
|
2015
2035
|
mutation SetDefaultBillingAccount($id: ID!) {
|
|
2016
2036
|
setDefaultBillingAccount(id: $id) {
|
|
2017
2037
|
...BillingAccountFields
|
|
2018
2038
|
}
|
|
2019
2039
|
}
|
|
2020
2040
|
${g}`;
|
|
2021
|
-
function
|
|
2041
|
+
function Ht(t) {
|
|
2022
2042
|
let r = {
|
|
2023
2043
|
...n,
|
|
2024
2044
|
...t
|
|
2025
2045
|
};
|
|
2026
|
-
return e.useMutation(
|
|
2046
|
+
return e.useMutation(Vt, r);
|
|
2027
2047
|
}
|
|
2028
|
-
var
|
|
2048
|
+
var Ut = t`
|
|
2029
2049
|
mutation SpendCredits($input: SpendCreditsInput!) {
|
|
2030
2050
|
spendCredits(input: $input) {
|
|
2031
2051
|
creditTransactionID
|
|
2032
2052
|
}
|
|
2033
2053
|
}
|
|
2034
2054
|
`;
|
|
2035
|
-
function
|
|
2055
|
+
function Wt(t) {
|
|
2036
2056
|
let r = {
|
|
2037
2057
|
...n,
|
|
2038
2058
|
...t
|
|
2039
2059
|
};
|
|
2040
|
-
return e.useMutation(
|
|
2060
|
+
return e.useMutation(Ut, r);
|
|
2041
2061
|
}
|
|
2042
|
-
var
|
|
2062
|
+
var Gt = t`
|
|
2043
2063
|
mutation UpdateBillingAccount($input: UpdateBillingAccountInput!) {
|
|
2044
2064
|
updateBillingAccount(input: $input) {
|
|
2045
2065
|
...BillingAccountFields
|
|
2046
2066
|
}
|
|
2047
2067
|
}
|
|
2048
2068
|
${g}`;
|
|
2049
|
-
function
|
|
2069
|
+
function Kt(t) {
|
|
2050
2070
|
let r = {
|
|
2051
2071
|
...n,
|
|
2052
2072
|
...t
|
|
2053
2073
|
};
|
|
2054
|
-
return e.useMutation(
|
|
2074
|
+
return e.useMutation(Gt, r);
|
|
2055
2075
|
}
|
|
2056
|
-
var
|
|
2076
|
+
var qt = t`
|
|
2057
2077
|
mutation UpdatePaymentMethodDashboard($id: ID!, $isDefault: Boolean!, $billingAccountId: ID!) {
|
|
2058
2078
|
updatePaymentMethod(
|
|
2059
2079
|
id: $id
|
|
@@ -2064,14 +2084,14 @@ var Gt = t`
|
|
|
2064
2084
|
}
|
|
2065
2085
|
}
|
|
2066
2086
|
${v}`;
|
|
2067
|
-
function
|
|
2087
|
+
function Jt(t) {
|
|
2068
2088
|
let r = {
|
|
2069
2089
|
...n,
|
|
2070
2090
|
...t
|
|
2071
2091
|
};
|
|
2072
|
-
return e.useMutation(
|
|
2092
|
+
return e.useMutation(qt, r);
|
|
2073
2093
|
}
|
|
2074
|
-
var
|
|
2094
|
+
var Yt = t`
|
|
2075
2095
|
mutation VerifyPaymentMethod($input: VerifyPaymentMethodInput!) {
|
|
2076
2096
|
verifyBillingPaymentMethod(input: $input) {
|
|
2077
2097
|
success
|
|
@@ -2089,12 +2109,12 @@ var qt = t`
|
|
|
2089
2109
|
}
|
|
2090
2110
|
}
|
|
2091
2111
|
`;
|
|
2092
|
-
function
|
|
2112
|
+
function Xt(t) {
|
|
2093
2113
|
let r = {
|
|
2094
2114
|
...n,
|
|
2095
2115
|
...t
|
|
2096
2116
|
};
|
|
2097
|
-
return e.useMutation(
|
|
2117
|
+
return e.useMutation(Yt, r);
|
|
2098
2118
|
}
|
|
2099
2119
|
t`
|
|
2100
2120
|
query GetActiveSubscriptions($billingAccountId: ID!) {
|
|
@@ -2148,20 +2168,20 @@ var K = t`
|
|
|
2148
2168
|
}
|
|
2149
2169
|
}
|
|
2150
2170
|
${g}`;
|
|
2151
|
-
function
|
|
2171
|
+
function Zt(t) {
|
|
2152
2172
|
let r = {
|
|
2153
2173
|
...n,
|
|
2154
2174
|
...t
|
|
2155
2175
|
};
|
|
2156
2176
|
return e.useQuery(K, r);
|
|
2157
2177
|
}
|
|
2158
|
-
var
|
|
2178
|
+
var Qt = t`
|
|
2159
2179
|
query GetBillingAddress($billingAccountId: ID!) {
|
|
2160
2180
|
getBillingAddress(billingAccountId: $billingAccountId) {
|
|
2161
2181
|
...BillingAddressFields
|
|
2162
2182
|
}
|
|
2163
2183
|
}
|
|
2164
|
-
${_}`,
|
|
2184
|
+
${_}`, $t = t`
|
|
2165
2185
|
query GetBillingOverview($addonsFilter: AddonsFilter) {
|
|
2166
2186
|
getBillingAccountsByOrg {
|
|
2167
2187
|
...BillingAccountFields
|
|
@@ -2200,14 +2220,14 @@ var Xt = t`
|
|
|
2200
2220
|
${v}
|
|
2201
2221
|
${_}
|
|
2202
2222
|
${h}`;
|
|
2203
|
-
function
|
|
2223
|
+
function en(t) {
|
|
2204
2224
|
let r = {
|
|
2205
2225
|
...n,
|
|
2206
2226
|
...t
|
|
2207
2227
|
};
|
|
2208
|
-
return e.useQuery(
|
|
2228
|
+
return e.useQuery($t, r);
|
|
2209
2229
|
}
|
|
2210
|
-
var
|
|
2230
|
+
var tn = t`
|
|
2211
2231
|
query GetBillingOverviewAccount($id: ID!) {
|
|
2212
2232
|
getBillingAccount(id: $id) {
|
|
2213
2233
|
...BillingAccountFields
|
|
@@ -2226,14 +2246,14 @@ var $t = t`
|
|
|
2226
2246
|
${v}
|
|
2227
2247
|
${_}
|
|
2228
2248
|
${h}`;
|
|
2229
|
-
function
|
|
2249
|
+
function nn(t) {
|
|
2230
2250
|
let r = {
|
|
2231
2251
|
...n,
|
|
2232
2252
|
...t
|
|
2233
2253
|
};
|
|
2234
|
-
return e.useQuery(
|
|
2254
|
+
return e.useQuery(tn, r);
|
|
2235
2255
|
}
|
|
2236
|
-
var
|
|
2256
|
+
var rn = t`
|
|
2237
2257
|
query GetCreditTransactionsSummary($billingAccountID: ID!, $days: Int!, $page: Int, $pageSize: Int) {
|
|
2238
2258
|
getBillingAccountCreditTransactions(
|
|
2239
2259
|
billingAccountID: $billingAccountID
|
|
@@ -2265,7 +2285,7 @@ var tn = t`
|
|
|
2265
2285
|
${g}
|
|
2266
2286
|
${v}
|
|
2267
2287
|
${_}`;
|
|
2268
|
-
function
|
|
2288
|
+
function an(t) {
|
|
2269
2289
|
let r = {
|
|
2270
2290
|
...n,
|
|
2271
2291
|
...t
|
|
@@ -2279,7 +2299,7 @@ t`
|
|
|
2279
2299
|
}
|
|
2280
2300
|
}
|
|
2281
2301
|
${v}`;
|
|
2282
|
-
var
|
|
2302
|
+
var on = t`
|
|
2283
2303
|
query GetPaymentProviderConfig {
|
|
2284
2304
|
getPaymentProviderConfig {
|
|
2285
2305
|
stripeEnabled
|
|
@@ -2289,12 +2309,12 @@ var rn = t`
|
|
|
2289
2309
|
}
|
|
2290
2310
|
}
|
|
2291
2311
|
`;
|
|
2292
|
-
function
|
|
2312
|
+
function sn(t) {
|
|
2293
2313
|
let r = {
|
|
2294
2314
|
...n,
|
|
2295
2315
|
...t
|
|
2296
2316
|
};
|
|
2297
|
-
return e.useQuery(
|
|
2317
|
+
return e.useQuery(on, r);
|
|
2298
2318
|
}
|
|
2299
2319
|
t`
|
|
2300
2320
|
query GetRecommendedAddons($limit: Int) {
|
|
@@ -2317,7 +2337,7 @@ t`
|
|
|
2317
2337
|
}
|
|
2318
2338
|
}
|
|
2319
2339
|
`;
|
|
2320
|
-
var
|
|
2340
|
+
var cn = t`
|
|
2321
2341
|
mutation CreateDiscount($code: String!, $type: String!, $value: Float!, $currency: String, $maxUses: Int, $validFrom: DateTime!, $validUntil: DateTime, $metadata: JSON) {
|
|
2322
2342
|
createDiscount(
|
|
2323
2343
|
code: $code
|
|
@@ -2345,26 +2365,26 @@ var on = t`
|
|
|
2345
2365
|
}
|
|
2346
2366
|
}
|
|
2347
2367
|
`;
|
|
2348
|
-
function
|
|
2368
|
+
function ln(t) {
|
|
2349
2369
|
let r = {
|
|
2350
2370
|
...n,
|
|
2351
2371
|
...t
|
|
2352
2372
|
};
|
|
2353
|
-
return e.useMutation(
|
|
2373
|
+
return e.useMutation(cn, r);
|
|
2354
2374
|
}
|
|
2355
|
-
var
|
|
2375
|
+
var un = t`
|
|
2356
2376
|
mutation DeleteDiscount($id: ID!) {
|
|
2357
2377
|
deleteDiscount(id: $id)
|
|
2358
2378
|
}
|
|
2359
2379
|
`;
|
|
2360
|
-
function
|
|
2380
|
+
function dn(t) {
|
|
2361
2381
|
let r = {
|
|
2362
2382
|
...n,
|
|
2363
2383
|
...t
|
|
2364
2384
|
};
|
|
2365
|
-
return e.useMutation(
|
|
2385
|
+
return e.useMutation(un, r);
|
|
2366
2386
|
}
|
|
2367
|
-
var
|
|
2387
|
+
var fn = t`
|
|
2368
2388
|
mutation UpdateDiscount($id: ID!, $maxUses: Int, $validUntil: DateTime) {
|
|
2369
2389
|
updateDiscount(id: $id, maxUses: $maxUses, validUntil: $validUntil) {
|
|
2370
2390
|
id
|
|
@@ -2383,14 +2403,14 @@ var un = t`
|
|
|
2383
2403
|
}
|
|
2384
2404
|
}
|
|
2385
2405
|
`;
|
|
2386
|
-
function
|
|
2406
|
+
function pn(t) {
|
|
2387
2407
|
let r = {
|
|
2388
2408
|
...n,
|
|
2389
2409
|
...t
|
|
2390
2410
|
};
|
|
2391
|
-
return e.useMutation(
|
|
2411
|
+
return e.useMutation(fn, r);
|
|
2392
2412
|
}
|
|
2393
|
-
var
|
|
2413
|
+
var mn = t`
|
|
2394
2414
|
query GetDiscounts {
|
|
2395
2415
|
getDiscounts {
|
|
2396
2416
|
id
|
|
@@ -2409,30 +2429,30 @@ var fn = t`
|
|
|
2409
2429
|
}
|
|
2410
2430
|
}
|
|
2411
2431
|
`;
|
|
2412
|
-
function
|
|
2432
|
+
function hn(t) {
|
|
2413
2433
|
let r = {
|
|
2414
2434
|
...n,
|
|
2415
2435
|
...t
|
|
2416
2436
|
};
|
|
2417
|
-
return e.useQuery(
|
|
2437
|
+
return e.useQuery(mn, r);
|
|
2418
2438
|
}
|
|
2419
|
-
var
|
|
2439
|
+
var gn = t`
|
|
2420
2440
|
mutation AddPayoutAccount($input: AddPayoutAccountInput!) {
|
|
2421
2441
|
addPayoutAccount(input: $input) {
|
|
2422
2442
|
id
|
|
2423
2443
|
}
|
|
2424
2444
|
}
|
|
2425
|
-
`,
|
|
2445
|
+
`, _n = t`
|
|
2426
2446
|
mutation ApprovePayoutRequest($id: ID!, $notes: String) {
|
|
2427
2447
|
approvePayoutRequest(id: $id, notes: $notes) {
|
|
2428
2448
|
id
|
|
2429
2449
|
}
|
|
2430
2450
|
}
|
|
2431
|
-
`,
|
|
2451
|
+
`, vn = t`
|
|
2432
2452
|
mutation ArchivePayoutAccount($id: ID!, $billingAccountId: ID!) {
|
|
2433
2453
|
archivePayoutAccount(id: $id, billingAccountId: $billingAccountId)
|
|
2434
2454
|
}
|
|
2435
|
-
`,
|
|
2455
|
+
`, yn = t`
|
|
2436
2456
|
mutation MarkPayoutPaid($id: ID!, $externalReference: String, $notes: String) {
|
|
2437
2457
|
markPayoutPaid(id: $id, externalReference: $externalReference, notes: $notes) {
|
|
2438
2458
|
id
|
|
@@ -2450,25 +2470,25 @@ t`
|
|
|
2450
2470
|
}
|
|
2451
2471
|
}
|
|
2452
2472
|
`;
|
|
2453
|
-
var
|
|
2473
|
+
var bn = t`
|
|
2454
2474
|
mutation RejectPayoutRequest($id: ID!, $reason: String!) {
|
|
2455
2475
|
rejectPayoutRequest(id: $id, reason: $reason) {
|
|
2456
2476
|
id
|
|
2457
2477
|
}
|
|
2458
2478
|
}
|
|
2459
|
-
`,
|
|
2479
|
+
`, xn = t`
|
|
2460
2480
|
mutation SetDefaultPayoutAccount($id: ID!, $billingAccountId: ID!) {
|
|
2461
2481
|
setDefaultPayoutAccount(id: $id, billingAccountId: $billingAccountId) {
|
|
2462
2482
|
id
|
|
2463
2483
|
}
|
|
2464
2484
|
}
|
|
2465
|
-
`,
|
|
2485
|
+
`, Sn = t`
|
|
2466
2486
|
mutation UpdatePayoutAccount($id: ID!, $billingAccountId: ID!, $input: UpdatePayoutAccountInput!) {
|
|
2467
2487
|
updatePayoutAccount(id: $id, billingAccountId: $billingAccountId, input: $input) {
|
|
2468
2488
|
id
|
|
2469
2489
|
}
|
|
2470
2490
|
}
|
|
2471
|
-
`,
|
|
2491
|
+
`, Cn = t`
|
|
2472
2492
|
query AdminPayoutRequests {
|
|
2473
2493
|
adminPayoutRequests(limit: 100, offset: 0) {
|
|
2474
2494
|
items {
|
|
@@ -2503,7 +2523,7 @@ var vn = t`
|
|
|
2503
2523
|
}
|
|
2504
2524
|
}
|
|
2505
2525
|
}
|
|
2506
|
-
`,
|
|
2526
|
+
`, wn = t`
|
|
2507
2527
|
query AdminPayoutSummary {
|
|
2508
2528
|
adminPayoutSummary {
|
|
2509
2529
|
totalRequestedAmount
|
|
@@ -2523,7 +2543,7 @@ var vn = t`
|
|
|
2523
2543
|
}
|
|
2524
2544
|
}
|
|
2525
2545
|
}
|
|
2526
|
-
`,
|
|
2546
|
+
`, Tn = t`
|
|
2527
2547
|
query BillingDeveloperPortalRevenue($organizationId: ID!) {
|
|
2528
2548
|
developerOrgRevenueSummary(organizationId: $organizationId, period: "monthly") {
|
|
2529
2549
|
totalGrossRevenue
|
|
@@ -2568,7 +2588,7 @@ var vn = t`
|
|
|
2568
2588
|
}
|
|
2569
2589
|
}
|
|
2570
2590
|
}
|
|
2571
|
-
`,
|
|
2591
|
+
`, En = t`
|
|
2572
2592
|
query MyEarningsEntries($billingAccountId: ID!) {
|
|
2573
2593
|
myEarningsEntries(billingAccountId: $billingAccountId, limit: 50, offset: 0) {
|
|
2574
2594
|
items {
|
|
@@ -2584,7 +2604,7 @@ var vn = t`
|
|
|
2584
2604
|
}
|
|
2585
2605
|
}
|
|
2586
2606
|
}
|
|
2587
|
-
`,
|
|
2607
|
+
`, Dn = t`
|
|
2588
2608
|
query MyEarningsSummary($billingAccountId: ID!) {
|
|
2589
2609
|
myEarningsSummary(billingAccountId: $billingAccountId) {
|
|
2590
2610
|
totalLifetimeAmount
|
|
@@ -2601,7 +2621,7 @@ var vn = t`
|
|
|
2601
2621
|
}
|
|
2602
2622
|
}
|
|
2603
2623
|
}
|
|
2604
|
-
`,
|
|
2624
|
+
`, On = t`
|
|
2605
2625
|
query MyPayoutAccounts($billingAccountId: ID!) {
|
|
2606
2626
|
myPayoutAccounts(billingAccountId: $billingAccountId) {
|
|
2607
2627
|
id
|
|
@@ -2616,7 +2636,7 @@ var vn = t`
|
|
|
2616
2636
|
isDefault
|
|
2617
2637
|
}
|
|
2618
2638
|
}
|
|
2619
|
-
`,
|
|
2639
|
+
`, kn = t`
|
|
2620
2640
|
query MyPayoutRequests($billingAccountId: ID!) {
|
|
2621
2641
|
myPayoutRequests(billingAccountId: $billingAccountId, limit: 50, offset: 0) {
|
|
2622
2642
|
items {
|
|
@@ -2648,7 +2668,7 @@ var vn = t`
|
|
|
2648
2668
|
}
|
|
2649
2669
|
}
|
|
2650
2670
|
}
|
|
2651
|
-
`,
|
|
2671
|
+
`, An = t`
|
|
2652
2672
|
mutation AssignPlanFree($secret: String!, $billingAccountId: ID!, $planId: ID!, $workspaceId: ID) {
|
|
2653
2673
|
assignPlanFree(
|
|
2654
2674
|
secret: $secret
|
|
@@ -2664,12 +2684,12 @@ var vn = t`
|
|
|
2664
2684
|
}
|
|
2665
2685
|
}
|
|
2666
2686
|
`;
|
|
2667
|
-
function
|
|
2687
|
+
function jn(t) {
|
|
2668
2688
|
let r = {
|
|
2669
2689
|
...n,
|
|
2670
2690
|
...t
|
|
2671
2691
|
};
|
|
2672
|
-
return e.useMutation(
|
|
2692
|
+
return e.useMutation(An, r);
|
|
2673
2693
|
}
|
|
2674
2694
|
t`
|
|
2675
2695
|
mutation CreateEntitlement($input: CreateEntitlementInput!) {
|
|
@@ -2683,17 +2703,17 @@ t`
|
|
|
2683
2703
|
}
|
|
2684
2704
|
}
|
|
2685
2705
|
`;
|
|
2686
|
-
var
|
|
2706
|
+
var Mn = t`
|
|
2687
2707
|
mutation CreatePlan($input: createPlanInput!) {
|
|
2688
2708
|
createPlan(input: $input)
|
|
2689
2709
|
}
|
|
2690
2710
|
`;
|
|
2691
|
-
function
|
|
2711
|
+
function Nn(t) {
|
|
2692
2712
|
let r = {
|
|
2693
2713
|
...n,
|
|
2694
2714
|
...t
|
|
2695
2715
|
};
|
|
2696
|
-
return e.useMutation(
|
|
2716
|
+
return e.useMutation(Mn, r);
|
|
2697
2717
|
}
|
|
2698
2718
|
t`
|
|
2699
2719
|
mutation CreateQuota($input: createQuotaInput!) {
|
|
@@ -2704,17 +2724,17 @@ t`
|
|
|
2704
2724
|
deleteEntitlement(id: $id)
|
|
2705
2725
|
}
|
|
2706
2726
|
`;
|
|
2707
|
-
var
|
|
2727
|
+
var Pn = t`
|
|
2708
2728
|
mutation TogglePlan($planID: ID!, $status: Boolean!) {
|
|
2709
2729
|
togglePlan(planID: $planID, status: $status)
|
|
2710
2730
|
}
|
|
2711
2731
|
`;
|
|
2712
|
-
function
|
|
2732
|
+
function Fn(t) {
|
|
2713
2733
|
let r = {
|
|
2714
2734
|
...n,
|
|
2715
2735
|
...t
|
|
2716
2736
|
};
|
|
2717
|
-
return e.useMutation(
|
|
2737
|
+
return e.useMutation(Pn, r);
|
|
2718
2738
|
}
|
|
2719
2739
|
t`
|
|
2720
2740
|
mutation UpdateEntitlement($input: UpdateEntitlementInput!) {
|
|
@@ -2726,17 +2746,17 @@ t`
|
|
|
2726
2746
|
}
|
|
2727
2747
|
}
|
|
2728
2748
|
`;
|
|
2729
|
-
var
|
|
2749
|
+
var In = t`
|
|
2730
2750
|
mutation UpdatePlan($input: updatePlanInput!) {
|
|
2731
2751
|
updatePlan(input: $input)
|
|
2732
2752
|
}
|
|
2733
2753
|
`;
|
|
2734
|
-
function
|
|
2754
|
+
function Ln(t) {
|
|
2735
2755
|
let r = {
|
|
2736
2756
|
...n,
|
|
2737
2757
|
...t
|
|
2738
2758
|
};
|
|
2739
|
-
return e.useMutation(
|
|
2759
|
+
return e.useMutation(In, r);
|
|
2740
2760
|
}
|
|
2741
2761
|
t`
|
|
2742
2762
|
mutation UpdateQuota($input: updateQuotaInput!) {
|
|
@@ -2758,40 +2778,40 @@ var J = t`
|
|
|
2758
2778
|
}
|
|
2759
2779
|
}
|
|
2760
2780
|
${b}`;
|
|
2761
|
-
function
|
|
2781
|
+
function Rn(t) {
|
|
2762
2782
|
let r = {
|
|
2763
2783
|
...n,
|
|
2764
2784
|
...t
|
|
2765
2785
|
};
|
|
2766
2786
|
return e.useQuery(J, r);
|
|
2767
2787
|
}
|
|
2768
|
-
var
|
|
2788
|
+
var zn = t`
|
|
2769
2789
|
query GetAllQuotas {
|
|
2770
2790
|
getAllQuotas {
|
|
2771
2791
|
...QuotaFields
|
|
2772
2792
|
}
|
|
2773
2793
|
}
|
|
2774
2794
|
${ne}`;
|
|
2775
|
-
function
|
|
2795
|
+
function Bn(t) {
|
|
2776
2796
|
let r = {
|
|
2777
2797
|
...n,
|
|
2778
2798
|
...t
|
|
2779
2799
|
};
|
|
2780
|
-
return e.useQuery(
|
|
2800
|
+
return e.useQuery(zn, r);
|
|
2781
2801
|
}
|
|
2782
|
-
var
|
|
2802
|
+
var Vn = t`
|
|
2783
2803
|
query GetPlan($id: ID!) {
|
|
2784
2804
|
getPlan(id: $id) {
|
|
2785
2805
|
...PlanWithFeaturesFields
|
|
2786
2806
|
}
|
|
2787
2807
|
}
|
|
2788
2808
|
${b}`;
|
|
2789
|
-
function
|
|
2809
|
+
function Hn(t) {
|
|
2790
2810
|
let r = {
|
|
2791
2811
|
...n,
|
|
2792
2812
|
...t
|
|
2793
2813
|
};
|
|
2794
|
-
return e.useQuery(
|
|
2814
|
+
return e.useQuery(Vn, r);
|
|
2795
2815
|
}
|
|
2796
2816
|
t`
|
|
2797
2817
|
query GetPlanEntitlements($planId: ID!) {
|
|
@@ -2806,7 +2826,7 @@ t`
|
|
|
2806
2826
|
}
|
|
2807
2827
|
}
|
|
2808
2828
|
`;
|
|
2809
|
-
var
|
|
2829
|
+
var Un = t`
|
|
2810
2830
|
mutation CreatePromotion($input: CreatePromotionInput!) {
|
|
2811
2831
|
createPromotion(input: $input) {
|
|
2812
2832
|
id
|
|
@@ -2824,14 +2844,14 @@ var Vn = t`
|
|
|
2824
2844
|
}
|
|
2825
2845
|
}
|
|
2826
2846
|
`;
|
|
2827
|
-
function
|
|
2847
|
+
function Wn(t) {
|
|
2828
2848
|
let r = {
|
|
2829
2849
|
...n,
|
|
2830
2850
|
...t
|
|
2831
2851
|
};
|
|
2832
|
-
return e.useMutation(
|
|
2852
|
+
return e.useMutation(Un, r);
|
|
2833
2853
|
}
|
|
2834
|
-
var
|
|
2854
|
+
var Gn = t`
|
|
2835
2855
|
mutation DeactivatePromotion($id: ID!) {
|
|
2836
2856
|
deactivatePromotion(id: $id) {
|
|
2837
2857
|
id
|
|
@@ -2839,14 +2859,14 @@ var Un = t`
|
|
|
2839
2859
|
}
|
|
2840
2860
|
}
|
|
2841
2861
|
`;
|
|
2842
|
-
function
|
|
2862
|
+
function Kn(t) {
|
|
2843
2863
|
let r = {
|
|
2844
2864
|
...n,
|
|
2845
2865
|
...t
|
|
2846
2866
|
};
|
|
2847
|
-
return e.useMutation(
|
|
2867
|
+
return e.useMutation(Gn, r);
|
|
2848
2868
|
}
|
|
2849
|
-
var
|
|
2869
|
+
var qn = t`
|
|
2850
2870
|
mutation UpdatePromotion($id: ID!, $input: UpdatePromotionInput!) {
|
|
2851
2871
|
updatePromotion(id: $id, input: $input) {
|
|
2852
2872
|
id
|
|
@@ -2861,12 +2881,12 @@ var Gn = t`
|
|
|
2861
2881
|
}
|
|
2862
2882
|
}
|
|
2863
2883
|
`;
|
|
2864
|
-
function
|
|
2884
|
+
function Jn(t) {
|
|
2865
2885
|
let r = {
|
|
2866
2886
|
...n,
|
|
2867
2887
|
...t
|
|
2868
2888
|
};
|
|
2869
|
-
return e.useMutation(
|
|
2889
|
+
return e.useMutation(qn, r);
|
|
2870
2890
|
}
|
|
2871
2891
|
t`
|
|
2872
2892
|
query GetActivePromotions($productId: String, $planId: String) {
|
|
@@ -2881,7 +2901,7 @@ t`
|
|
|
2881
2901
|
}
|
|
2882
2902
|
}
|
|
2883
2903
|
`;
|
|
2884
|
-
var
|
|
2904
|
+
var Yn = t`
|
|
2885
2905
|
query ListPromotions($includeInactive: Boolean) {
|
|
2886
2906
|
listPromotions(includeInactive: $includeInactive) {
|
|
2887
2907
|
id
|
|
@@ -2900,12 +2920,12 @@ var qn = t`
|
|
|
2900
2920
|
}
|
|
2901
2921
|
}
|
|
2902
2922
|
`;
|
|
2903
|
-
function
|
|
2923
|
+
function Xn(t) {
|
|
2904
2924
|
let r = {
|
|
2905
2925
|
...n,
|
|
2906
2926
|
...t
|
|
2907
2927
|
};
|
|
2908
|
-
return e.useQuery(
|
|
2928
|
+
return e.useQuery(Yn, r);
|
|
2909
2929
|
}
|
|
2910
2930
|
t`
|
|
2911
2931
|
mutation AddUsage($billingAccountId: ID!, $quotaName: String!, $value: Int!, $description: String!, $userId: ID, $productId: String, $hash: String, $tags: JSON) {
|
|
@@ -2921,17 +2941,17 @@ t`
|
|
|
2921
2941
|
)
|
|
2922
2942
|
}
|
|
2923
2943
|
`;
|
|
2924
|
-
var
|
|
2944
|
+
var Zn = t`
|
|
2925
2945
|
mutation CreateQuotaTemplate($input: createQuotaInput!) {
|
|
2926
2946
|
createQuota(input: $input)
|
|
2927
2947
|
}
|
|
2928
2948
|
`;
|
|
2929
|
-
function
|
|
2949
|
+
function Qn(t) {
|
|
2930
2950
|
let r = {
|
|
2931
2951
|
...n,
|
|
2932
2952
|
...t
|
|
2933
2953
|
};
|
|
2934
|
-
return e.useMutation(
|
|
2954
|
+
return e.useMutation(Zn, r);
|
|
2935
2955
|
}
|
|
2936
2956
|
t`
|
|
2937
2957
|
mutation FreeUpUsage($billingAccountId: ID!, $quotaName: String!, $value: Int!, $description: String, $userId: ID, $productId: String, $hash: String, $tags: JSON) {
|
|
@@ -2947,17 +2967,17 @@ t`
|
|
|
2947
2967
|
)
|
|
2948
2968
|
}
|
|
2949
2969
|
`;
|
|
2950
|
-
var
|
|
2970
|
+
var $n = t`
|
|
2951
2971
|
mutation UpdateQuotaTemplate($input: updateQuotaInput!) {
|
|
2952
2972
|
updateQuota(input: $input)
|
|
2953
2973
|
}
|
|
2954
2974
|
`;
|
|
2955
|
-
function
|
|
2975
|
+
function er(t) {
|
|
2956
2976
|
let r = {
|
|
2957
2977
|
...n,
|
|
2958
2978
|
...t
|
|
2959
2979
|
};
|
|
2960
|
-
return e.useMutation(
|
|
2980
|
+
return e.useMutation($n, r);
|
|
2961
2981
|
}
|
|
2962
2982
|
t`
|
|
2963
2983
|
query CheckQuotaExhausted($billingAccountId: ID!, $quotaName: String!, $productId: String) {
|
|
@@ -2978,7 +2998,7 @@ var Y = t`
|
|
|
2978
2998
|
}
|
|
2979
2999
|
}
|
|
2980
3000
|
${ie}`;
|
|
2981
|
-
function
|
|
3001
|
+
function tr(t) {
|
|
2982
3002
|
let r = {
|
|
2983
3003
|
...n,
|
|
2984
3004
|
...t
|
|
@@ -3090,7 +3110,7 @@ t`
|
|
|
3090
3110
|
}
|
|
3091
3111
|
}
|
|
3092
3112
|
`;
|
|
3093
|
-
var
|
|
3113
|
+
var nr = t`
|
|
3094
3114
|
mutation ArchiveBillingAccountSettings($id: ID!, $reason: String, $replacementDefaultBillingAccountId: ID) {
|
|
3095
3115
|
archiveBillingAccount(
|
|
3096
3116
|
id: $id
|
|
@@ -3102,7 +3122,7 @@ var er = t`
|
|
|
3102
3122
|
isDefault
|
|
3103
3123
|
}
|
|
3104
3124
|
}
|
|
3105
|
-
`,
|
|
3125
|
+
`, rr = t`
|
|
3106
3126
|
mutation SetDefaultBillingAccountSettings($id: ID!) {
|
|
3107
3127
|
setDefaultBillingAccount(id: $id) {
|
|
3108
3128
|
id
|
|
@@ -3114,14 +3134,14 @@ var er = t`
|
|
|
3114
3134
|
}
|
|
3115
3135
|
}
|
|
3116
3136
|
`;
|
|
3117
|
-
function
|
|
3137
|
+
function ir(t) {
|
|
3118
3138
|
let r = {
|
|
3119
3139
|
...n,
|
|
3120
3140
|
...t
|
|
3121
3141
|
};
|
|
3122
|
-
return e.useMutation(
|
|
3142
|
+
return e.useMutation(rr, r);
|
|
3123
3143
|
}
|
|
3124
|
-
var
|
|
3144
|
+
var ar = t`
|
|
3125
3145
|
mutation UpdateBillingAccountSettings($input: UpdateBillingAccountInput!) {
|
|
3126
3146
|
updateBillingAccount(input: $input) {
|
|
3127
3147
|
id
|
|
@@ -3136,14 +3156,14 @@ var rr = t`
|
|
|
3136
3156
|
}
|
|
3137
3157
|
}
|
|
3138
3158
|
`;
|
|
3139
|
-
function
|
|
3159
|
+
function or(t) {
|
|
3140
3160
|
let r = {
|
|
3141
3161
|
...n,
|
|
3142
3162
|
...t
|
|
3143
3163
|
};
|
|
3144
|
-
return e.useMutation(
|
|
3164
|
+
return e.useMutation(ar, r);
|
|
3145
3165
|
}
|
|
3146
|
-
var
|
|
3166
|
+
var sr = t`
|
|
3147
3167
|
query GetBillingAccountSettings($id: ID!) {
|
|
3148
3168
|
getBillingAccount(id: $id) {
|
|
3149
3169
|
id
|
|
@@ -3161,14 +3181,14 @@ var ar = t`
|
|
|
3161
3181
|
}
|
|
3162
3182
|
}
|
|
3163
3183
|
`;
|
|
3164
|
-
function
|
|
3184
|
+
function cr(t) {
|
|
3165
3185
|
let r = {
|
|
3166
3186
|
...n,
|
|
3167
3187
|
...t
|
|
3168
3188
|
};
|
|
3169
|
-
return e.useQuery(
|
|
3189
|
+
return e.useQuery(sr, r);
|
|
3170
3190
|
}
|
|
3171
|
-
var
|
|
3191
|
+
var lr = t`
|
|
3172
3192
|
query GetBillingAccountsSettings {
|
|
3173
3193
|
getBillingAccountsByOrg {
|
|
3174
3194
|
id
|
|
@@ -3180,14 +3200,14 @@ var sr = t`
|
|
|
3180
3200
|
}
|
|
3181
3201
|
}
|
|
3182
3202
|
`;
|
|
3183
|
-
function
|
|
3203
|
+
function ur(t) {
|
|
3184
3204
|
let r = {
|
|
3185
3205
|
...n,
|
|
3186
3206
|
...t
|
|
3187
3207
|
};
|
|
3188
|
-
return e.useQuery(
|
|
3208
|
+
return e.useQuery(lr, r);
|
|
3189
3209
|
}
|
|
3190
|
-
var
|
|
3210
|
+
var dr = t`
|
|
3191
3211
|
query GetDefaultBillingAccountSettings {
|
|
3192
3212
|
getDefaultBillingAccount {
|
|
3193
3213
|
id
|
|
@@ -3205,42 +3225,42 @@ var lr = t`
|
|
|
3205
3225
|
}
|
|
3206
3226
|
}
|
|
3207
3227
|
`;
|
|
3208
|
-
function
|
|
3228
|
+
function fr(t) {
|
|
3209
3229
|
let r = {
|
|
3210
3230
|
...n,
|
|
3211
3231
|
...t
|
|
3212
3232
|
};
|
|
3213
|
-
return e.useQuery(
|
|
3233
|
+
return e.useQuery(dr, r);
|
|
3214
3234
|
}
|
|
3215
|
-
var
|
|
3235
|
+
var pr = t`
|
|
3216
3236
|
mutation UpdateSubscriptionSeats($input: UpdateSubscriptionSeatsInput!) {
|
|
3217
3237
|
updateSubscriptionSeats(input: $input) {
|
|
3218
3238
|
...SubscriptionFields
|
|
3219
3239
|
}
|
|
3220
3240
|
}
|
|
3221
3241
|
${C}`;
|
|
3222
|
-
function
|
|
3242
|
+
function mr(t) {
|
|
3223
3243
|
let r = {
|
|
3224
3244
|
...n,
|
|
3225
3245
|
...t
|
|
3226
3246
|
};
|
|
3227
|
-
return e.useMutation(
|
|
3247
|
+
return e.useMutation(pr, r);
|
|
3228
3248
|
}
|
|
3229
|
-
var
|
|
3249
|
+
var hr = t`
|
|
3230
3250
|
mutation CancelSubscription($input: CancelSubscriptionInput!) {
|
|
3231
3251
|
cancelSubscription(input: $input) {
|
|
3232
3252
|
...SubscriptionFields
|
|
3233
3253
|
}
|
|
3234
3254
|
}
|
|
3235
3255
|
${C}`;
|
|
3236
|
-
function
|
|
3256
|
+
function gr(t) {
|
|
3237
3257
|
let r = {
|
|
3238
3258
|
...n,
|
|
3239
3259
|
...t
|
|
3240
3260
|
};
|
|
3241
|
-
return e.useMutation(
|
|
3261
|
+
return e.useMutation(hr, r);
|
|
3242
3262
|
}
|
|
3243
|
-
var
|
|
3263
|
+
var _r = t`
|
|
3244
3264
|
mutation CreateBillingAccountSubscriptions($input: CreateBillingAccountInput!) {
|
|
3245
3265
|
createBillingAccount(input: $input) {
|
|
3246
3266
|
id
|
|
@@ -3253,14 +3273,14 @@ var hr = t`
|
|
|
3253
3273
|
}
|
|
3254
3274
|
}
|
|
3255
3275
|
`;
|
|
3256
|
-
function
|
|
3276
|
+
function vr(t) {
|
|
3257
3277
|
let r = {
|
|
3258
3278
|
...n,
|
|
3259
3279
|
...t
|
|
3260
3280
|
};
|
|
3261
|
-
return e.useMutation(
|
|
3281
|
+
return e.useMutation(_r, r);
|
|
3262
3282
|
}
|
|
3263
|
-
var
|
|
3283
|
+
var yr = t`
|
|
3264
3284
|
mutation InitiatePaymentSubscriptions($input: InitiatePaymentInput!) {
|
|
3265
3285
|
initiatePayment(input: $input) {
|
|
3266
3286
|
success
|
|
@@ -3280,28 +3300,28 @@ var _r = t`
|
|
|
3280
3300
|
}
|
|
3281
3301
|
}
|
|
3282
3302
|
`;
|
|
3283
|
-
function
|
|
3303
|
+
function br(t) {
|
|
3284
3304
|
let r = {
|
|
3285
3305
|
...n,
|
|
3286
3306
|
...t
|
|
3287
3307
|
};
|
|
3288
|
-
return e.useMutation(
|
|
3308
|
+
return e.useMutation(yr, r);
|
|
3289
3309
|
}
|
|
3290
|
-
var
|
|
3310
|
+
var xr = t`
|
|
3291
3311
|
mutation SpendCreditsSubscriptions($input: SpendCreditsInput!) {
|
|
3292
3312
|
spendCredits(input: $input) {
|
|
3293
3313
|
creditTransactionID
|
|
3294
3314
|
}
|
|
3295
3315
|
}
|
|
3296
3316
|
`;
|
|
3297
|
-
function
|
|
3317
|
+
function Sr(t) {
|
|
3298
3318
|
let r = {
|
|
3299
3319
|
...n,
|
|
3300
3320
|
...t
|
|
3301
3321
|
};
|
|
3302
|
-
return e.useMutation(
|
|
3322
|
+
return e.useMutation(xr, r);
|
|
3303
3323
|
}
|
|
3304
|
-
var
|
|
3324
|
+
var Cr = t`
|
|
3305
3325
|
mutation UpdateBillingAccountSubscriptions($input: UpdateBillingAccountInput!) {
|
|
3306
3326
|
updateBillingAccount(input: $input) {
|
|
3307
3327
|
id
|
|
@@ -3315,14 +3335,14 @@ var br = t`
|
|
|
3315
3335
|
}
|
|
3316
3336
|
}
|
|
3317
3337
|
`;
|
|
3318
|
-
function
|
|
3338
|
+
function wr(t) {
|
|
3319
3339
|
let r = {
|
|
3320
3340
|
...n,
|
|
3321
3341
|
...t
|
|
3322
3342
|
};
|
|
3323
|
-
return e.useMutation(
|
|
3343
|
+
return e.useMutation(Cr, r);
|
|
3324
3344
|
}
|
|
3325
|
-
var
|
|
3345
|
+
var X = t`
|
|
3326
3346
|
query GetBillingAccount($id: ID!) {
|
|
3327
3347
|
getBillingAccount(id: $id) {
|
|
3328
3348
|
id
|
|
@@ -3344,14 +3364,14 @@ var Z = t`
|
|
|
3344
3364
|
}
|
|
3345
3365
|
}
|
|
3346
3366
|
${w}`;
|
|
3347
|
-
function
|
|
3367
|
+
function Tr(t) {
|
|
3348
3368
|
let r = {
|
|
3349
3369
|
...n,
|
|
3350
3370
|
...t
|
|
3351
3371
|
};
|
|
3352
|
-
return e.useQuery(
|
|
3372
|
+
return e.useQuery(X, r);
|
|
3353
3373
|
}
|
|
3354
|
-
var
|
|
3374
|
+
var Er = t`
|
|
3355
3375
|
query GetBillingAccountsForSubscriptions {
|
|
3356
3376
|
getBillingAccountsByOrg {
|
|
3357
3377
|
id
|
|
@@ -3363,14 +3383,14 @@ var Cr = t`
|
|
|
3363
3383
|
}
|
|
3364
3384
|
}
|
|
3365
3385
|
`;
|
|
3366
|
-
function
|
|
3386
|
+
function Dr(t) {
|
|
3367
3387
|
let r = {
|
|
3368
3388
|
...n,
|
|
3369
3389
|
...t
|
|
3370
3390
|
};
|
|
3371
|
-
return e.useQuery(
|
|
3391
|
+
return e.useQuery(Er, r);
|
|
3372
3392
|
}
|
|
3373
|
-
var
|
|
3393
|
+
var Z = t`
|
|
3374
3394
|
query GetDefaultBillingAccount {
|
|
3375
3395
|
getDefaultBillingAccount {
|
|
3376
3396
|
id
|
|
@@ -3388,14 +3408,14 @@ var Q = t`
|
|
|
3388
3408
|
}
|
|
3389
3409
|
}
|
|
3390
3410
|
${w}`;
|
|
3391
|
-
function
|
|
3411
|
+
function Or(t) {
|
|
3392
3412
|
let r = {
|
|
3393
3413
|
...n,
|
|
3394
3414
|
...t
|
|
3395
3415
|
};
|
|
3396
|
-
return e.useQuery(
|
|
3416
|
+
return e.useQuery(Z, r);
|
|
3397
3417
|
}
|
|
3398
|
-
var
|
|
3418
|
+
var kr = t`
|
|
3399
3419
|
query GetPaginatedSubscriptions($billingAccountId: ID!, $page: Int, $pageSize: Int, $search: String) {
|
|
3400
3420
|
getPaginatedSubscriptions(
|
|
3401
3421
|
billingAccountId: $billingAccountId
|
|
@@ -3418,26 +3438,26 @@ var Er = t`
|
|
|
3418
3438
|
}
|
|
3419
3439
|
}
|
|
3420
3440
|
${w}`;
|
|
3421
|
-
function
|
|
3441
|
+
function Ar(t) {
|
|
3422
3442
|
let r = {
|
|
3423
3443
|
...n,
|
|
3424
3444
|
...t
|
|
3425
3445
|
};
|
|
3426
|
-
return e.useQuery(
|
|
3446
|
+
return e.useQuery(kr, r);
|
|
3427
3447
|
}
|
|
3428
|
-
var
|
|
3448
|
+
var Q = t`
|
|
3429
3449
|
query GetSubscription($id: ID!, $billingAccountId: ID!) {
|
|
3430
3450
|
getSubscription(id: $id, billingAccountId: $billingAccountId) {
|
|
3431
3451
|
...SubscriptionFullFields
|
|
3432
3452
|
}
|
|
3433
3453
|
}
|
|
3434
3454
|
${ae}`;
|
|
3435
|
-
function
|
|
3455
|
+
function jr(t) {
|
|
3436
3456
|
let r = {
|
|
3437
3457
|
...n,
|
|
3438
3458
|
...t
|
|
3439
3459
|
};
|
|
3440
|
-
return e.useQuery(
|
|
3460
|
+
return e.useQuery(Q, r);
|
|
3441
3461
|
}
|
|
3442
3462
|
t`
|
|
3443
3463
|
query GetSubscriptionUsageOverview($billingAccountId: ID!, $page: Int, $pageSize: Int) {
|
|
@@ -3460,7 +3480,7 @@ t`
|
|
|
3460
3480
|
}
|
|
3461
3481
|
}
|
|
3462
3482
|
`;
|
|
3463
|
-
var
|
|
3483
|
+
var Mr = t`
|
|
3464
3484
|
query GetBillingAccountQuotasSummaryForUsage($billingAccountId: ID!, $productId: String) {
|
|
3465
3485
|
getBillingAccountQuotasSummary(
|
|
3466
3486
|
billingAccountId: $billingAccountId
|
|
@@ -3486,14 +3506,14 @@ var kr = t`
|
|
|
3486
3506
|
}
|
|
3487
3507
|
}
|
|
3488
3508
|
`;
|
|
3489
|
-
function
|
|
3509
|
+
function Nr(t) {
|
|
3490
3510
|
let r = {
|
|
3491
3511
|
...n,
|
|
3492
3512
|
...t
|
|
3493
3513
|
};
|
|
3494
|
-
return e.useQuery(
|
|
3514
|
+
return e.useQuery(Mr, r);
|
|
3495
3515
|
}
|
|
3496
|
-
var
|
|
3516
|
+
var Pr = t`
|
|
3497
3517
|
query GetBillingAccountsForUsage {
|
|
3498
3518
|
getBillingAccountsByOrg {
|
|
3499
3519
|
id
|
|
@@ -3506,14 +3526,14 @@ var jr = t`
|
|
|
3506
3526
|
}
|
|
3507
3527
|
}
|
|
3508
3528
|
`;
|
|
3509
|
-
function
|
|
3529
|
+
function Fr(t) {
|
|
3510
3530
|
let r = {
|
|
3511
3531
|
...n,
|
|
3512
3532
|
...t
|
|
3513
3533
|
};
|
|
3514
|
-
return e.useQuery(
|
|
3534
|
+
return e.useQuery(Pr, r);
|
|
3515
3535
|
}
|
|
3516
|
-
var
|
|
3536
|
+
var Ir = t`
|
|
3517
3537
|
query GetPastSubscriptionsWithQuotas($billingAccountId: ID!, $searchQuery: String, $page: Int, $pageSize: Int) {
|
|
3518
3538
|
getSubscriptionUsageOverview(
|
|
3519
3539
|
billingAccountId: $billingAccountId
|
|
@@ -3538,12 +3558,12 @@ var Nr = t`
|
|
|
3538
3558
|
}
|
|
3539
3559
|
}
|
|
3540
3560
|
`;
|
|
3541
|
-
function
|
|
3561
|
+
function Lr(t) {
|
|
3542
3562
|
let r = {
|
|
3543
3563
|
...n,
|
|
3544
3564
|
...t
|
|
3545
3565
|
};
|
|
3546
|
-
return e.useQuery(
|
|
3566
|
+
return e.useQuery(Ir, r);
|
|
3547
3567
|
}
|
|
3548
3568
|
t`
|
|
3549
3569
|
query GetQuotaAnalyticsForUsage($quotaAssignmentId: ID!, $billingAccountId: ID!, $period: AnalyticsPeriod) {
|
|
@@ -3604,7 +3624,7 @@ t`
|
|
|
3604
3624
|
}
|
|
3605
3625
|
}
|
|
3606
3626
|
`;
|
|
3607
|
-
var
|
|
3627
|
+
var $ = t`
|
|
3608
3628
|
query GetSubscriptionsWithQuotas($billingAccountId: ID!, $searchQuery: String) {
|
|
3609
3629
|
getSubscriptionUsageOverview(
|
|
3610
3630
|
billingAccountId: $billingAccountId
|
|
@@ -3628,26 +3648,26 @@ var Fr = t`
|
|
|
3628
3648
|
}
|
|
3629
3649
|
}
|
|
3630
3650
|
`;
|
|
3631
|
-
function
|
|
3651
|
+
function Rr(t) {
|
|
3632
3652
|
let r = {
|
|
3633
3653
|
...n,
|
|
3634
3654
|
...t
|
|
3635
3655
|
};
|
|
3636
|
-
return e.useQuery(
|
|
3656
|
+
return e.useQuery($, r);
|
|
3637
3657
|
}
|
|
3638
|
-
var
|
|
3658
|
+
var zr = t`
|
|
3639
3659
|
query GetUsageDashboard($billingAccountId: ID!, $period: AnalyticsPeriod) {
|
|
3640
3660
|
getUsageDashboard(billingAccountId: $billingAccountId, period: $period) {
|
|
3641
3661
|
...UsageDashboardFields
|
|
3642
3662
|
}
|
|
3643
3663
|
}
|
|
3644
3664
|
${oe}`;
|
|
3645
|
-
function
|
|
3665
|
+
function Br(t) {
|
|
3646
3666
|
let r = {
|
|
3647
3667
|
...n,
|
|
3648
3668
|
...t
|
|
3649
3669
|
};
|
|
3650
|
-
return e.useQuery(
|
|
3670
|
+
return e.useQuery(zr, r);
|
|
3651
3671
|
}
|
|
3652
3672
|
t`
|
|
3653
3673
|
query GetMyOrders {
|
|
@@ -3683,6 +3703,6 @@ t`
|
|
|
3683
3703
|
}
|
|
3684
3704
|
`;
|
|
3685
3705
|
//#endregion
|
|
3686
|
-
export {
|
|
3706
|
+
export { gn as AddPayoutAccountDocument, Cn as AdminPayoutRequestsDocument, wn as AdminPayoutSummaryDocument, _n as ApprovePayoutRequestDocument, nr as ArchiveBillingAccountSettingsDocument, vn as ArchivePayoutAccountDocument, Tn as BillingDeveloperPortalRevenueDocument, Et as CreditWithdrawalHistoryDocument, T as GetAllAddOnsDocument, J as GetAllPlansDocument, Y as GetAllQuotaTemplatesDocument, X as GetBillingAccountDocument, K as GetBillingAccountsByOrgDocument, Qt as GetBillingAddressDocument, kt as GetCreditBalanceByTypeDocument, At as GetCreditNotesDocument, rn as GetCreditTransactionsSummaryDocument, q as GetDefaultBillingAccountDashboardDocument, Z as GetDefaultBillingAccountDocument, Se as GetInvoicesDocument, Te as GetPendingRefundsDocument, H as GetRefundRecordsDocument, U as GetRefundStatsDocument, Q as GetSubscriptionDocument, W as GetTransactionDocument, G as GetUnprocessedFailedWebhooksDocument, wt as GrantCreditsDocument, yn as MarkPayoutPaidDocument, En as MyEarningsEntriesDocument, Dn as MyEarningsSummaryDocument, On as MyPayoutAccountsDocument, kn as MyPayoutRequestsDocument, bn as RejectPayoutRequestDocument, Tt as RequestCreditWithdrawalDocument, xn as SetDefaultPayoutAccountDocument, Sn as UpdatePayoutAccountDocument, Mt as useAddPaymentMethodDashboardMutation, jn as useAssignPlanFreeMutation, gr as useCancelSubscriptionMutation, ze as useConvertCurrencyLazyQuery, ce as useCreateAddOnsMutation, Pt as useCreateBillingAccountMutation, vr as useCreateBillingAccountSubscriptionsMutation, Ne as useCreateBillingOrderCheckoutMutation, lt as useCreateCouponMutation, Ct as useCreateCreditNoteMutation, ln as useCreateDiscountMutation, Nn as useCreatePlanMutation, Wn as useCreatePromotionMutation, Qn as useCreateQuotaTemplateMutation, P as useCreateRefundRecordFromWebhookMutation, M as useCreateRefundRecordMutation, I as useCreateRefundRecordsFromFailedWebhooksMutation, dt as useDeactivateCouponMutation, Kn as useDeactivatePromotionMutation, dn as useDeleteDiscountMutation, It as useDeletePaymentMethodDashboardMutation, R as useGenerateInvoiceMutation, Ve as useGetActiveSubscriptionsCheckoutQuery, E as useGetAllAddOnsQuery, Rn as useGetAllPlansQuery, tr as useGetAllQuotaTemplatesQuery, Bn as useGetAllQuotasQuery, Ot as useGetBillingAccountCreditTransactionsQuery, Tr as useGetBillingAccountQuery, Nr as useGetBillingAccountQuotasSummaryForUsageQuery, cr as useGetBillingAccountSettingsQuery, Zt as useGetBillingAccountsByOrgQuery, Ge as useGetBillingAccountsCheckoutQuery, Dr as useGetBillingAccountsForSubscriptionsQuery, Fr as useGetBillingAccountsForUsageQuery, ur as useGetBillingAccountsSettingsQuery, A as useGetBillingAnalyticsPageDataQuery, nn as useGetBillingOverviewAccountQuery, en as useGetBillingOverviewQuery, qe as useGetCostOfCreditsCheckoutQuery, ht as useGetCouponLazyQuery, _t as useGetCouponUsageHistoryQuery, Ye as useGetCreditTransactionStatusLazyQuery, Ze as useGetDefaultBillingAccountCheckoutQuery, an as useGetDefaultBillingAccountDashboardQuery, Or as useGetDefaultBillingAccountQuery, fr as useGetDefaultBillingAccountSettingsQuery, hn as useGetDiscountsQuery, xe as useGetInvoiceQuery, we as useGetPaginatedInvoicesQuery, Ar as useGetPaginatedSubscriptionsQuery, Lr as useGetPastSubscriptionsWithQuotasQuery, $e as useGetPaymentMethodsCheckoutQuery, tt as useGetPaymentProviderConfigCheckoutQuery, sn as useGetPaymentProviderConfigQuery, rt as useGetPaymentStatusLazyQuery, at as useGetPlanCheckoutQuery, Hn as useGetPlanQuery, Ee as useGetRefundRecordsQuery, De as useGetRefundStatsQuery, Ue as useGetSelectedAddonCheckoutQuery, O as useGetSelectedAddonsQuery, st as useGetStoreOrderCheckoutQuery, jr as useGetSubscriptionQuery, Rr as useGetSubscriptionsWithQuotasQuery, Oe as useGetTransactionLazyQuery, Ae as useGetTransactionsByBillingAccountQuery, je as useGetUnprocessedFailedWebhooksQuery, Br as useGetUsageDashboardQuery, Fe as useInitiatePaymentCheckoutMutation, Rt as useInitiatePaymentMutation, br as useInitiatePaymentSubscriptionsMutation, yt as useListCouponsQuery, Xn as useListPromotionsQuery, B as usePayInvoiceMutation, pe as useProcessRefundMutation, he as useRetryRefundMutation, Bt as useSetBillingAddressMutation, Ht as useSetDefaultBillingAccountMutation, ir as useSetDefaultBillingAccountSettingsMutation, _e as useSkipRefundMutation, Le as useSpendCreditsCheckoutMutation, Wt as useSpendCreditsMutation, Sr as useSpendCreditsSubscriptionsMutation, ue as useToggleAddOnMutation, Fn as useTogglePlanMutation, fe as useUpdateAddOnDetailsMutation, Kt as useUpdateBillingAccountMutation, or as useUpdateBillingAccountSettingsMutation, wr as useUpdateBillingAccountSubscriptionsMutation, pt as useUpdateCouponMutation, pn as useUpdateDiscountMutation, Jt as useUpdatePaymentMethodDashboardMutation, Ln as useUpdatePlanMutation, Jn as useUpdatePromotionMutation, er as useUpdateQuotaTemplateMutation, mr as useUpdateSubscriptionSeatsMutation, xt as useValidateCouponLazyQuery, Xt as useVerifyPaymentMethodMutation, ye as useVoidInvoiceMutation };
|
|
3687
3707
|
|
|
3688
3708
|
//# sourceMappingURL=global-operations.js.map
|