@burdenoff/microfe-billing 2026.530.3 → 2026.531.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 +87 -61
- package/dist/billing/BillingAdminRoutes.js.map +1 -1
- package/dist/billing/BillingRoot.js +81 -73
- package/dist/billing/BillingRoot.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonDetailPage.js +85 -84
- package/dist/billing/modules/addons/pages/AddonDetailPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonEditPage.js +176 -195
- package/dist/billing/modules/addons/pages/AddonEditPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.js +173 -172
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonsListPage.js +216 -215
- package/dist/billing/modules/addons/pages/AddonsListPage.js.map +1 -1
- package/dist/billing/modules/checkout/hooks/useCheckout.js +165 -161
- package/dist/billing/modules/checkout/hooks/useCheckout.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CreateCouponPage.js +344 -167
- package/dist/billing/modules/coupons/pages/CreateCouponPage.js.map +1 -1
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js +79 -78
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanEditPage.js +29 -20
- package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
- package/dist/billing/modules/promotions/index.js +4 -0
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js +289 -0
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js.map +1 -0
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js +168 -0
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js.map +1 -0
- package/dist/billing/modules/promotions/pages/index.js +2 -0
- package/dist/generated/global-operations.js +182 -75
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -38,6 +38,7 @@ var i = t`
|
|
|
38
38
|
features {
|
|
39
39
|
id
|
|
40
40
|
quotaId
|
|
41
|
+
context
|
|
41
42
|
quota {
|
|
42
43
|
id
|
|
43
44
|
name
|
|
@@ -2108,10 +2109,14 @@ t`
|
|
|
2108
2109
|
isActive
|
|
2109
2110
|
features {
|
|
2110
2111
|
id
|
|
2112
|
+
quotaId
|
|
2113
|
+
context
|
|
2111
2114
|
quota {
|
|
2112
2115
|
id
|
|
2113
2116
|
name
|
|
2114
2117
|
limits
|
|
2118
|
+
reusable
|
|
2119
|
+
quotaType
|
|
2115
2120
|
}
|
|
2116
2121
|
}
|
|
2117
2122
|
}
|
|
@@ -2794,7 +2799,109 @@ t`
|
|
|
2794
2799
|
updatedAt
|
|
2795
2800
|
}
|
|
2796
2801
|
}
|
|
2797
|
-
|
|
2802
|
+
`;
|
|
2803
|
+
var Vn = t`
|
|
2804
|
+
mutation CreatePromotion($input: CreatePromotionInput!) {
|
|
2805
|
+
createPromotion(input: $input) {
|
|
2806
|
+
id
|
|
2807
|
+
name
|
|
2808
|
+
description
|
|
2809
|
+
bonusMonths
|
|
2810
|
+
startsAt
|
|
2811
|
+
expiresAt
|
|
2812
|
+
applicableProductIds
|
|
2813
|
+
applicablePlanIds
|
|
2814
|
+
maxRedemptions
|
|
2815
|
+
currentRedemptions
|
|
2816
|
+
isActive
|
|
2817
|
+
createdAt
|
|
2818
|
+
}
|
|
2819
|
+
}
|
|
2820
|
+
`;
|
|
2821
|
+
function Hn(t) {
|
|
2822
|
+
let r = {
|
|
2823
|
+
...n,
|
|
2824
|
+
...t
|
|
2825
|
+
};
|
|
2826
|
+
return e.useMutation(Vn, r);
|
|
2827
|
+
}
|
|
2828
|
+
var Un = t`
|
|
2829
|
+
mutation DeactivatePromotion($id: ID!) {
|
|
2830
|
+
deactivatePromotion(id: $id) {
|
|
2831
|
+
id
|
|
2832
|
+
isActive
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2835
|
+
`;
|
|
2836
|
+
function Wn(t) {
|
|
2837
|
+
let r = {
|
|
2838
|
+
...n,
|
|
2839
|
+
...t
|
|
2840
|
+
};
|
|
2841
|
+
return e.useMutation(Un, r);
|
|
2842
|
+
}
|
|
2843
|
+
var Gn = t`
|
|
2844
|
+
mutation UpdatePromotion($id: ID!, $input: UpdatePromotionInput!) {
|
|
2845
|
+
updatePromotion(id: $id, input: $input) {
|
|
2846
|
+
id
|
|
2847
|
+
name
|
|
2848
|
+
description
|
|
2849
|
+
bonusMonths
|
|
2850
|
+
startsAt
|
|
2851
|
+
expiresAt
|
|
2852
|
+
isActive
|
|
2853
|
+
maxRedemptions
|
|
2854
|
+
currentRedemptions
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
`;
|
|
2858
|
+
function Kn(t) {
|
|
2859
|
+
let r = {
|
|
2860
|
+
...n,
|
|
2861
|
+
...t
|
|
2862
|
+
};
|
|
2863
|
+
return e.useMutation(Gn, r);
|
|
2864
|
+
}
|
|
2865
|
+
t`
|
|
2866
|
+
query GetActivePromotions($productId: String, $planId: String) {
|
|
2867
|
+
getActivePromotions(productId: $productId, planId: $planId) {
|
|
2868
|
+
id
|
|
2869
|
+
name
|
|
2870
|
+
description
|
|
2871
|
+
bonusMonths
|
|
2872
|
+
expiresAt
|
|
2873
|
+
applicableProductIds
|
|
2874
|
+
applicablePlanIds
|
|
2875
|
+
}
|
|
2876
|
+
}
|
|
2877
|
+
`;
|
|
2878
|
+
var qn = t`
|
|
2879
|
+
query ListPromotions($includeInactive: Boolean) {
|
|
2880
|
+
listPromotions(includeInactive: $includeInactive) {
|
|
2881
|
+
id
|
|
2882
|
+
name
|
|
2883
|
+
description
|
|
2884
|
+
startsAt
|
|
2885
|
+
expiresAt
|
|
2886
|
+
bonusMonths
|
|
2887
|
+
applicableProductIds
|
|
2888
|
+
applicablePlanIds
|
|
2889
|
+
maxRedemptions
|
|
2890
|
+
currentRedemptions
|
|
2891
|
+
isActive
|
|
2892
|
+
createdAt
|
|
2893
|
+
createdBy
|
|
2894
|
+
}
|
|
2895
|
+
}
|
|
2896
|
+
`;
|
|
2897
|
+
function Jn(t) {
|
|
2898
|
+
let r = {
|
|
2899
|
+
...n,
|
|
2900
|
+
...t
|
|
2901
|
+
};
|
|
2902
|
+
return e.useQuery(qn, r);
|
|
2903
|
+
}
|
|
2904
|
+
t`
|
|
2798
2905
|
mutation AddUsage($billingAccountId: ID!, $quotaName: String!, $value: Int!, $description: String!, $userId: ID, $productId: String, $hash: String, $tags: JSON) {
|
|
2799
2906
|
addUsage(
|
|
2800
2907
|
billingAccountId: $billingAccountId
|
|
@@ -2808,17 +2915,17 @@ t`
|
|
|
2808
2915
|
)
|
|
2809
2916
|
}
|
|
2810
2917
|
`;
|
|
2811
|
-
var
|
|
2918
|
+
var Yn = t`
|
|
2812
2919
|
mutation CreateQuotaTemplate($input: createQuotaInput!) {
|
|
2813
2920
|
createQuota(input: $input)
|
|
2814
2921
|
}
|
|
2815
2922
|
`;
|
|
2816
|
-
function
|
|
2923
|
+
function Xn(t) {
|
|
2817
2924
|
let r = {
|
|
2818
2925
|
...n,
|
|
2819
2926
|
...t
|
|
2820
2927
|
};
|
|
2821
|
-
return e.useMutation(
|
|
2928
|
+
return e.useMutation(Yn, r);
|
|
2822
2929
|
}
|
|
2823
2930
|
t`
|
|
2824
2931
|
mutation FreeUpUsage($billingAccountId: ID!, $quotaName: String!, $value: Int!, $description: String, $userId: ID, $productId: String, $hash: String, $tags: JSON) {
|
|
@@ -2834,17 +2941,17 @@ t`
|
|
|
2834
2941
|
)
|
|
2835
2942
|
}
|
|
2836
2943
|
`;
|
|
2837
|
-
var
|
|
2944
|
+
var Zn = t`
|
|
2838
2945
|
mutation UpdateQuotaTemplate($input: updateQuotaInput!) {
|
|
2839
2946
|
updateQuota(input: $input)
|
|
2840
2947
|
}
|
|
2841
2948
|
`;
|
|
2842
|
-
function
|
|
2949
|
+
function Qn(t) {
|
|
2843
2950
|
let r = {
|
|
2844
2951
|
...n,
|
|
2845
2952
|
...t
|
|
2846
2953
|
};
|
|
2847
|
-
return e.useMutation(
|
|
2954
|
+
return e.useMutation(Zn, r);
|
|
2848
2955
|
}
|
|
2849
2956
|
t`
|
|
2850
2957
|
query CheckQuotaExhausted($billingAccountId: ID!, $quotaName: String!, $productId: String) {
|
|
@@ -2865,7 +2972,7 @@ var Y = t`
|
|
|
2865
2972
|
}
|
|
2866
2973
|
}
|
|
2867
2974
|
${ie}`;
|
|
2868
|
-
function
|
|
2975
|
+
function $n(t) {
|
|
2869
2976
|
let r = {
|
|
2870
2977
|
...n,
|
|
2871
2978
|
...t
|
|
@@ -2895,7 +3002,7 @@ t`
|
|
|
2895
3002
|
}
|
|
2896
3003
|
}
|
|
2897
3004
|
${x}`;
|
|
2898
|
-
var
|
|
3005
|
+
var er = t`
|
|
2899
3006
|
query GetBillingAccountQuotasSummary($billingAccountId: ID!, $productId: String) {
|
|
2900
3007
|
getBillingAccountQuotasSummary(
|
|
2901
3008
|
billingAccountId: $billingAccountId
|
|
@@ -2934,12 +3041,12 @@ var Kn = t`
|
|
|
2934
3041
|
}
|
|
2935
3042
|
}
|
|
2936
3043
|
`;
|
|
2937
|
-
function
|
|
3044
|
+
function tr(t) {
|
|
2938
3045
|
let r = {
|
|
2939
3046
|
...n,
|
|
2940
3047
|
...t
|
|
2941
3048
|
};
|
|
2942
|
-
return e.useQuery(
|
|
3049
|
+
return e.useQuery(er, r);
|
|
2943
3050
|
}
|
|
2944
3051
|
t`
|
|
2945
3052
|
query GetQuotaAnalytics($quotaAssignmentId: ID!, $billingAccountId: ID!, $period: AnalyticsPeriod) {
|
|
@@ -2952,7 +3059,7 @@ t`
|
|
|
2952
3059
|
}
|
|
2953
3060
|
}
|
|
2954
3061
|
${S}`;
|
|
2955
|
-
var
|
|
3062
|
+
var nr = t`
|
|
2956
3063
|
query GetQuotaAssignmentsWithAnalytics($billingAccountId: ID!, $page: Int, $pageSize: Int, $searchQuery: String, $status: [QuotaStatus!], $fromDate: DateTime, $toDate: DateTime, $sortBy: String, $sortOrder: String) {
|
|
2957
3064
|
getQuotaAssignmentsWithAnalytics(
|
|
2958
3065
|
billingAccountId: $billingAccountId
|
|
@@ -2975,12 +3082,12 @@ var Jn = t`
|
|
|
2975
3082
|
}
|
|
2976
3083
|
}
|
|
2977
3084
|
${re}`;
|
|
2978
|
-
function
|
|
3085
|
+
function rr(t) {
|
|
2979
3086
|
let r = {
|
|
2980
3087
|
...n,
|
|
2981
3088
|
...t
|
|
2982
3089
|
};
|
|
2983
|
-
return e.useQuery(
|
|
3090
|
+
return e.useQuery(nr, r);
|
|
2984
3091
|
}
|
|
2985
3092
|
t`
|
|
2986
3093
|
query GetQuotaUsageAndLimit($billingAccountId: ID!, $quotaName: String!, $productId: String) {
|
|
@@ -2995,7 +3102,7 @@ t`
|
|
|
2995
3102
|
}
|
|
2996
3103
|
}
|
|
2997
3104
|
`;
|
|
2998
|
-
var
|
|
3105
|
+
var ir = t`
|
|
2999
3106
|
mutation ArchiveBillingAccountSettings($id: ID!, $reason: String, $replacementDefaultBillingAccountId: ID) {
|
|
3000
3107
|
archiveBillingAccount(
|
|
3001
3108
|
id: $id
|
|
@@ -3007,7 +3114,7 @@ var Xn = t`
|
|
|
3007
3114
|
isDefault
|
|
3008
3115
|
}
|
|
3009
3116
|
}
|
|
3010
|
-
`,
|
|
3117
|
+
`, ar = t`
|
|
3011
3118
|
mutation SetDefaultBillingAccountSettings($id: ID!) {
|
|
3012
3119
|
setDefaultBillingAccount(id: $id) {
|
|
3013
3120
|
id
|
|
@@ -3019,14 +3126,14 @@ var Xn = t`
|
|
|
3019
3126
|
}
|
|
3020
3127
|
}
|
|
3021
3128
|
`;
|
|
3022
|
-
function
|
|
3129
|
+
function or(t) {
|
|
3023
3130
|
let r = {
|
|
3024
3131
|
...n,
|
|
3025
3132
|
...t
|
|
3026
3133
|
};
|
|
3027
|
-
return e.useMutation(
|
|
3134
|
+
return e.useMutation(ar, r);
|
|
3028
3135
|
}
|
|
3029
|
-
var
|
|
3136
|
+
var sr = t`
|
|
3030
3137
|
mutation UpdateBillingAccountSettings($input: UpdateBillingAccountInput!) {
|
|
3031
3138
|
updateBillingAccount(input: $input) {
|
|
3032
3139
|
id
|
|
@@ -3041,14 +3148,14 @@ var $n = t`
|
|
|
3041
3148
|
}
|
|
3042
3149
|
}
|
|
3043
3150
|
`;
|
|
3044
|
-
function
|
|
3151
|
+
function cr(t) {
|
|
3045
3152
|
let r = {
|
|
3046
3153
|
...n,
|
|
3047
3154
|
...t
|
|
3048
3155
|
};
|
|
3049
|
-
return e.useMutation(
|
|
3156
|
+
return e.useMutation(sr, r);
|
|
3050
3157
|
}
|
|
3051
|
-
var
|
|
3158
|
+
var lr = t`
|
|
3052
3159
|
query GetBillingAccountSettings($id: ID!) {
|
|
3053
3160
|
getBillingAccount(id: $id) {
|
|
3054
3161
|
id
|
|
@@ -3066,14 +3173,14 @@ var tr = t`
|
|
|
3066
3173
|
}
|
|
3067
3174
|
}
|
|
3068
3175
|
`;
|
|
3069
|
-
function
|
|
3176
|
+
function ur(t) {
|
|
3070
3177
|
let r = {
|
|
3071
3178
|
...n,
|
|
3072
3179
|
...t
|
|
3073
3180
|
};
|
|
3074
|
-
return e.useQuery(
|
|
3181
|
+
return e.useQuery(lr, r);
|
|
3075
3182
|
}
|
|
3076
|
-
var
|
|
3183
|
+
var dr = t`
|
|
3077
3184
|
query GetBillingAccountsSettings {
|
|
3078
3185
|
getBillingAccountsByOrg {
|
|
3079
3186
|
id
|
|
@@ -3085,14 +3192,14 @@ var rr = t`
|
|
|
3085
3192
|
}
|
|
3086
3193
|
}
|
|
3087
3194
|
`;
|
|
3088
|
-
function
|
|
3195
|
+
function fr(t) {
|
|
3089
3196
|
let r = {
|
|
3090
3197
|
...n,
|
|
3091
3198
|
...t
|
|
3092
3199
|
};
|
|
3093
|
-
return e.useQuery(
|
|
3200
|
+
return e.useQuery(dr, r);
|
|
3094
3201
|
}
|
|
3095
|
-
var
|
|
3202
|
+
var pr = t`
|
|
3096
3203
|
query GetDefaultBillingAccountSettings {
|
|
3097
3204
|
getDefaultBillingAccount {
|
|
3098
3205
|
id
|
|
@@ -3110,42 +3217,42 @@ var ar = t`
|
|
|
3110
3217
|
}
|
|
3111
3218
|
}
|
|
3112
3219
|
`;
|
|
3113
|
-
function
|
|
3220
|
+
function mr(t) {
|
|
3114
3221
|
let r = {
|
|
3115
3222
|
...n,
|
|
3116
3223
|
...t
|
|
3117
3224
|
};
|
|
3118
|
-
return e.useQuery(
|
|
3225
|
+
return e.useQuery(pr, r);
|
|
3119
3226
|
}
|
|
3120
|
-
var
|
|
3227
|
+
var hr = t`
|
|
3121
3228
|
mutation UpdateSubscriptionSeats($input: UpdateSubscriptionSeatsInput!) {
|
|
3122
3229
|
updateSubscriptionSeats(input: $input) {
|
|
3123
3230
|
...SubscriptionFields
|
|
3124
3231
|
}
|
|
3125
3232
|
}
|
|
3126
3233
|
${C}`;
|
|
3127
|
-
function
|
|
3234
|
+
function gr(t) {
|
|
3128
3235
|
let r = {
|
|
3129
3236
|
...n,
|
|
3130
3237
|
...t
|
|
3131
3238
|
};
|
|
3132
|
-
return e.useMutation(
|
|
3239
|
+
return e.useMutation(hr, r);
|
|
3133
3240
|
}
|
|
3134
|
-
var
|
|
3241
|
+
var _r = t`
|
|
3135
3242
|
mutation CancelSubscription($input: CancelSubscriptionInput!) {
|
|
3136
3243
|
cancelSubscription(input: $input) {
|
|
3137
3244
|
...SubscriptionFields
|
|
3138
3245
|
}
|
|
3139
3246
|
}
|
|
3140
3247
|
${C}`;
|
|
3141
|
-
function
|
|
3248
|
+
function vr(t) {
|
|
3142
3249
|
let r = {
|
|
3143
3250
|
...n,
|
|
3144
3251
|
...t
|
|
3145
3252
|
};
|
|
3146
|
-
return e.useMutation(
|
|
3253
|
+
return e.useMutation(_r, r);
|
|
3147
3254
|
}
|
|
3148
|
-
var
|
|
3255
|
+
var yr = t`
|
|
3149
3256
|
mutation CreateBillingAccountSubscriptions($input: CreateBillingAccountInput!) {
|
|
3150
3257
|
createBillingAccount(input: $input) {
|
|
3151
3258
|
id
|
|
@@ -3158,14 +3265,14 @@ var dr = t`
|
|
|
3158
3265
|
}
|
|
3159
3266
|
}
|
|
3160
3267
|
`;
|
|
3161
|
-
function
|
|
3268
|
+
function br(t) {
|
|
3162
3269
|
let r = {
|
|
3163
3270
|
...n,
|
|
3164
3271
|
...t
|
|
3165
3272
|
};
|
|
3166
|
-
return e.useMutation(
|
|
3273
|
+
return e.useMutation(yr, r);
|
|
3167
3274
|
}
|
|
3168
|
-
var
|
|
3275
|
+
var xr = t`
|
|
3169
3276
|
mutation InitiatePaymentSubscriptions($input: InitiatePaymentInput!) {
|
|
3170
3277
|
initiatePayment(input: $input) {
|
|
3171
3278
|
success
|
|
@@ -3185,28 +3292,28 @@ var pr = t`
|
|
|
3185
3292
|
}
|
|
3186
3293
|
}
|
|
3187
3294
|
`;
|
|
3188
|
-
function
|
|
3295
|
+
function Sr(t) {
|
|
3189
3296
|
let r = {
|
|
3190
3297
|
...n,
|
|
3191
3298
|
...t
|
|
3192
3299
|
};
|
|
3193
|
-
return e.useMutation(
|
|
3300
|
+
return e.useMutation(xr, r);
|
|
3194
3301
|
}
|
|
3195
|
-
var
|
|
3302
|
+
var Cr = t`
|
|
3196
3303
|
mutation SpendCreditsSubscriptions($input: SpendCreditsInput!) {
|
|
3197
3304
|
spendCredits(input: $input) {
|
|
3198
3305
|
creditTransactionID
|
|
3199
3306
|
}
|
|
3200
3307
|
}
|
|
3201
3308
|
`;
|
|
3202
|
-
function
|
|
3309
|
+
function wr(t) {
|
|
3203
3310
|
let r = {
|
|
3204
3311
|
...n,
|
|
3205
3312
|
...t
|
|
3206
3313
|
};
|
|
3207
|
-
return e.useMutation(
|
|
3314
|
+
return e.useMutation(Cr, r);
|
|
3208
3315
|
}
|
|
3209
|
-
var
|
|
3316
|
+
var Tr = t`
|
|
3210
3317
|
mutation UpdateBillingAccountSubscriptions($input: UpdateBillingAccountInput!) {
|
|
3211
3318
|
updateBillingAccount(input: $input) {
|
|
3212
3319
|
id
|
|
@@ -3220,14 +3327,14 @@ var _r = t`
|
|
|
3220
3327
|
}
|
|
3221
3328
|
}
|
|
3222
3329
|
`;
|
|
3223
|
-
function
|
|
3330
|
+
function Er(t) {
|
|
3224
3331
|
let r = {
|
|
3225
3332
|
...n,
|
|
3226
3333
|
...t
|
|
3227
3334
|
};
|
|
3228
|
-
return e.useMutation(
|
|
3335
|
+
return e.useMutation(Tr, r);
|
|
3229
3336
|
}
|
|
3230
|
-
var
|
|
3337
|
+
var X = t`
|
|
3231
3338
|
query GetBillingAccount($id: ID!) {
|
|
3232
3339
|
getBillingAccount(id: $id) {
|
|
3233
3340
|
id
|
|
@@ -3249,14 +3356,14 @@ var Z = t`
|
|
|
3249
3356
|
}
|
|
3250
3357
|
}
|
|
3251
3358
|
${w}`;
|
|
3252
|
-
function
|
|
3359
|
+
function Dr(t) {
|
|
3253
3360
|
let r = {
|
|
3254
3361
|
...n,
|
|
3255
3362
|
...t
|
|
3256
3363
|
};
|
|
3257
|
-
return e.useQuery(
|
|
3364
|
+
return e.useQuery(X, r);
|
|
3258
3365
|
}
|
|
3259
|
-
var
|
|
3366
|
+
var Z = t`
|
|
3260
3367
|
query GetBillingAccountsForSubscriptions {
|
|
3261
3368
|
getBillingAccountsByOrg {
|
|
3262
3369
|
id
|
|
@@ -3268,12 +3375,12 @@ var yr = t`
|
|
|
3268
3375
|
}
|
|
3269
3376
|
}
|
|
3270
3377
|
`;
|
|
3271
|
-
function
|
|
3378
|
+
function Or(t) {
|
|
3272
3379
|
let r = {
|
|
3273
3380
|
...n,
|
|
3274
3381
|
...t
|
|
3275
3382
|
};
|
|
3276
|
-
return e.useQuery(
|
|
3383
|
+
return e.useQuery(Z, r);
|
|
3277
3384
|
}
|
|
3278
3385
|
var Q = t`
|
|
3279
3386
|
query GetDefaultBillingAccount {
|
|
@@ -3293,14 +3400,14 @@ var Q = t`
|
|
|
3293
3400
|
}
|
|
3294
3401
|
}
|
|
3295
3402
|
${w}`;
|
|
3296
|
-
function
|
|
3403
|
+
function kr(t) {
|
|
3297
3404
|
let r = {
|
|
3298
3405
|
...n,
|
|
3299
3406
|
...t
|
|
3300
3407
|
};
|
|
3301
3408
|
return e.useQuery(Q, r);
|
|
3302
3409
|
}
|
|
3303
|
-
var
|
|
3410
|
+
var Ar = t`
|
|
3304
3411
|
query GetPaginatedSubscriptions($billingAccountId: ID!, $page: Int, $pageSize: Int, $search: String) {
|
|
3305
3412
|
getPaginatedSubscriptions(
|
|
3306
3413
|
billingAccountId: $billingAccountId
|
|
@@ -3323,12 +3430,12 @@ var Sr = t`
|
|
|
3323
3430
|
}
|
|
3324
3431
|
}
|
|
3325
3432
|
${w}`;
|
|
3326
|
-
function
|
|
3433
|
+
function jr(t) {
|
|
3327
3434
|
let r = {
|
|
3328
3435
|
...n,
|
|
3329
3436
|
...t
|
|
3330
3437
|
};
|
|
3331
|
-
return e.useQuery(
|
|
3438
|
+
return e.useQuery(Ar, r);
|
|
3332
3439
|
}
|
|
3333
3440
|
var $ = t`
|
|
3334
3441
|
query GetSubscription($id: ID!, $billingAccountId: ID!) {
|
|
@@ -3337,7 +3444,7 @@ var $ = t`
|
|
|
3337
3444
|
}
|
|
3338
3445
|
}
|
|
3339
3446
|
${ae}`;
|
|
3340
|
-
function
|
|
3447
|
+
function Mr(t) {
|
|
3341
3448
|
let r = {
|
|
3342
3449
|
...n,
|
|
3343
3450
|
...t
|
|
@@ -3365,7 +3472,7 @@ t`
|
|
|
3365
3472
|
}
|
|
3366
3473
|
}
|
|
3367
3474
|
`;
|
|
3368
|
-
var
|
|
3475
|
+
var Nr = t`
|
|
3369
3476
|
query GetBillingAccountQuotasSummaryForUsage($billingAccountId: ID!, $productId: String) {
|
|
3370
3477
|
getBillingAccountQuotasSummary(
|
|
3371
3478
|
billingAccountId: $billingAccountId
|
|
@@ -3391,14 +3498,14 @@ var Tr = t`
|
|
|
3391
3498
|
}
|
|
3392
3499
|
}
|
|
3393
3500
|
`;
|
|
3394
|
-
function
|
|
3501
|
+
function Pr(t) {
|
|
3395
3502
|
let r = {
|
|
3396
3503
|
...n,
|
|
3397
3504
|
...t
|
|
3398
3505
|
};
|
|
3399
|
-
return e.useQuery(
|
|
3506
|
+
return e.useQuery(Nr, r);
|
|
3400
3507
|
}
|
|
3401
|
-
var
|
|
3508
|
+
var Fr = t`
|
|
3402
3509
|
query GetBillingAccountsForUsage {
|
|
3403
3510
|
getBillingAccountsByOrg {
|
|
3404
3511
|
id
|
|
@@ -3411,14 +3518,14 @@ var Dr = t`
|
|
|
3411
3518
|
}
|
|
3412
3519
|
}
|
|
3413
3520
|
`;
|
|
3414
|
-
function
|
|
3521
|
+
function Ir(t) {
|
|
3415
3522
|
let r = {
|
|
3416
3523
|
...n,
|
|
3417
3524
|
...t
|
|
3418
3525
|
};
|
|
3419
|
-
return e.useQuery(
|
|
3526
|
+
return e.useQuery(Fr, r);
|
|
3420
3527
|
}
|
|
3421
|
-
var
|
|
3528
|
+
var Lr = t`
|
|
3422
3529
|
query GetPastSubscriptionsWithQuotas($billingAccountId: ID!, $searchQuery: String, $page: Int, $pageSize: Int) {
|
|
3423
3530
|
getSubscriptionUsageOverview(
|
|
3424
3531
|
billingAccountId: $billingAccountId
|
|
@@ -3443,12 +3550,12 @@ var kr = t`
|
|
|
3443
3550
|
}
|
|
3444
3551
|
}
|
|
3445
3552
|
`;
|
|
3446
|
-
function
|
|
3553
|
+
function Rr(t) {
|
|
3447
3554
|
let r = {
|
|
3448
3555
|
...n,
|
|
3449
3556
|
...t
|
|
3450
3557
|
};
|
|
3451
|
-
return e.useQuery(
|
|
3558
|
+
return e.useQuery(Lr, r);
|
|
3452
3559
|
}
|
|
3453
3560
|
t`
|
|
3454
3561
|
query GetQuotaAnalyticsForUsage($quotaAssignmentId: ID!, $billingAccountId: ID!, $period: AnalyticsPeriod) {
|
|
@@ -3509,7 +3616,7 @@ t`
|
|
|
3509
3616
|
}
|
|
3510
3617
|
}
|
|
3511
3618
|
`;
|
|
3512
|
-
var
|
|
3619
|
+
var zr = t`
|
|
3513
3620
|
query GetSubscriptionsWithQuotas($billingAccountId: ID!, $searchQuery: String) {
|
|
3514
3621
|
getSubscriptionUsageOverview(
|
|
3515
3622
|
billingAccountId: $billingAccountId
|
|
@@ -3533,26 +3640,26 @@ var jr = t`
|
|
|
3533
3640
|
}
|
|
3534
3641
|
}
|
|
3535
3642
|
`;
|
|
3536
|
-
function
|
|
3643
|
+
function Br(t) {
|
|
3537
3644
|
let r = {
|
|
3538
3645
|
...n,
|
|
3539
3646
|
...t
|
|
3540
3647
|
};
|
|
3541
|
-
return e.useQuery(
|
|
3648
|
+
return e.useQuery(zr, r);
|
|
3542
3649
|
}
|
|
3543
|
-
var
|
|
3650
|
+
var Vr = t`
|
|
3544
3651
|
query GetUsageDashboard($billingAccountId: ID!, $period: AnalyticsPeriod) {
|
|
3545
3652
|
getUsageDashboard(billingAccountId: $billingAccountId, period: $period) {
|
|
3546
3653
|
...UsageDashboardFields
|
|
3547
3654
|
}
|
|
3548
3655
|
}
|
|
3549
3656
|
${oe}`;
|
|
3550
|
-
function
|
|
3657
|
+
function Hr(t) {
|
|
3551
3658
|
let r = {
|
|
3552
3659
|
...n,
|
|
3553
3660
|
...t
|
|
3554
3661
|
};
|
|
3555
|
-
return e.useQuery(
|
|
3662
|
+
return e.useQuery(Vr, r);
|
|
3556
3663
|
}
|
|
3557
3664
|
t`
|
|
3558
3665
|
query GetMyOrders {
|
|
@@ -3588,6 +3695,6 @@ t`
|
|
|
3588
3695
|
}
|
|
3589
3696
|
`;
|
|
3590
3697
|
//#endregion
|
|
3591
|
-
export { mn as AddPayoutAccountDocument, xn as AdminPayoutRequestsDocument, Sn as AdminPayoutSummaryDocument, hn as ApprovePayoutRequestDocument,
|
|
3698
|
+
export { mn as AddPayoutAccountDocument, xn as AdminPayoutRequestsDocument, Sn as AdminPayoutSummaryDocument, hn as ApprovePayoutRequestDocument, ir as ArchiveBillingAccountSettingsDocument, gn as ArchivePayoutAccountDocument, Cn as BillingDeveloperPortalRevenueDocument, wt as CreditWithdrawalHistoryDocument, T as GetAllAddOnsDocument, J as GetAllPlansDocument, Y as GetAllQuotaTemplatesDocument, X as GetBillingAccountDocument, K as GetBillingAccountsByOrgDocument, Xt as GetBillingAddressDocument, Dt as GetCreditBalanceByTypeDocument, Ot as GetCreditNotesDocument, tn as GetCreditTransactionsSummaryDocument, q as GetDefaultBillingAccountDashboardDocument, Q as GetDefaultBillingAccountDocument, Se as GetInvoicesDocument, Te as GetPendingRefundsDocument, H as GetRefundRecordsDocument, U as GetRefundStatsDocument, $ as GetSubscriptionDocument, W as GetTransactionDocument, G as GetUnprocessedFailedWebhooksDocument, St as GrantCreditsDocument, _n as MarkPayoutPaidDocument, wn as MyEarningsEntriesDocument, Tn as MyEarningsSummaryDocument, En as MyPayoutAccountsDocument, Dn as MyPayoutRequestsDocument, vn as RejectPayoutRequestDocument, Ct as RequestCreditWithdrawalDocument, yn as SetDefaultPayoutAccountDocument, bn as UpdatePayoutAccountDocument, At as useAddPaymentMethodDashboardMutation, kn as useAssignPlanFreeMutation, vr as useCancelSubscriptionMutation, Le as useConvertCurrencyLazyQuery, ce as useCreateAddOnsMutation, Mt as useCreateBillingAccountMutation, br as useCreateBillingAccountSubscriptionsMutation, st as useCreateCouponMutation, xt as useCreateCreditNoteMutation, sn as useCreateDiscountMutation, jn as useCreatePlanMutation, Hn as useCreatePromotionMutation, Xn as useCreateQuotaTemplateMutation, P as useCreateRefundRecordFromWebhookMutation, M as useCreateRefundRecordMutation, I as useCreateRefundRecordsFromFailedWebhooksMutation, lt as useDeactivateCouponMutation, Wn as useDeactivatePromotionMutation, ln as useDeleteDiscountMutation, Pt as useDeletePaymentMethodDashboardMutation, R as useGenerateInvoiceMutation, ze as useGetActiveSubscriptionsCheckoutQuery, E as useGetAllAddOnsQuery, In as useGetAllPlansQuery, $n as useGetAllQuotaTemplatesQuery, Rn as useGetAllQuotasQuery, Et as useGetBillingAccountCreditTransactionsQuery, Dr as useGetBillingAccountQuery, Pr as useGetBillingAccountQuotasSummaryForUsageQuery, tr as useGetBillingAccountQuotasSummaryQuery, ur as useGetBillingAccountSettingsQuery, Yt as useGetBillingAccountsByOrgQuery, Ue as useGetBillingAccountsCheckoutQuery, Or as useGetBillingAccountsForSubscriptionsQuery, Ir as useGetBillingAccountsForUsageQuery, fr as useGetBillingAccountsSettingsQuery, A as useGetBillingAnalyticsPageDataQuery, en as useGetBillingOverviewAccountQuery, Qt as useGetBillingOverviewQuery, Ge as useGetCostOfCreditsCheckoutQuery, pt as useGetCouponLazyQuery, ht as useGetCouponUsageHistoryQuery, qe as useGetCreditTransactionStatusLazyQuery, Ye as useGetDefaultBillingAccountCheckoutQuery, nn as useGetDefaultBillingAccountDashboardQuery, kr as useGetDefaultBillingAccountQuery, mr as useGetDefaultBillingAccountSettingsQuery, pn as useGetDiscountsQuery, xe as useGetInvoiceQuery, we as useGetPaginatedInvoicesQuery, jr as useGetPaginatedSubscriptionsQuery, Rr as useGetPastSubscriptionsWithQuotasQuery, Ze as useGetPaymentMethodsCheckoutQuery, $e as useGetPaymentProviderConfigCheckoutQuery, an as useGetPaymentProviderConfigQuery, tt as useGetPaymentStatusLazyQuery, rt as useGetPlanCheckoutQuery, Bn as useGetPlanQuery, rr as useGetQuotaAssignmentsWithAnalyticsQuery, Ee as useGetRefundRecordsQuery, De as useGetRefundStatsQuery, Ve as useGetSelectedAddonCheckoutQuery, O as useGetSelectedAddonsQuery, at as useGetStoreOrderCheckoutQuery, Mr as useGetSubscriptionQuery, Br as useGetSubscriptionsWithQuotasQuery, Oe as useGetTransactionLazyQuery, Ae as useGetTransactionsByBillingAccountQuery, je as useGetUnprocessedFailedWebhooksQuery, Hr as useGetUsageDashboardQuery, Ne as useInitiatePaymentCheckoutMutation, It as useInitiatePaymentMutation, Sr as useInitiatePaymentSubscriptionsMutation, _t as useListCouponsQuery, Jn as useListPromotionsQuery, B as usePayInvoiceMutation, pe as useProcessRefundMutation, he as useRetryRefundMutation, Rt as useSetBillingAddressMutation, Bt as useSetDefaultBillingAccountMutation, or as useSetDefaultBillingAccountSettingsMutation, _e as useSkipRefundMutation, Fe as useSpendCreditsCheckoutMutation, Ht as useSpendCreditsMutation, wr as useSpendCreditsSubscriptionsMutation, ue as useToggleAddOnMutation, Nn as useTogglePlanMutation, fe as useUpdateAddOnDetailsMutation, Wt as useUpdateBillingAccountMutation, cr as useUpdateBillingAccountSettingsMutation, Er as useUpdateBillingAccountSubscriptionsMutation, dt as useUpdateCouponMutation, dn as useUpdateDiscountMutation, Kt as useUpdatePaymentMethodDashboardMutation, Fn as useUpdatePlanMutation, Kn as useUpdatePromotionMutation, Qn as useUpdateQuotaTemplateMutation, gr as useUpdateSubscriptionSeatsMutation, yt as useValidateCouponLazyQuery, Jt as useVerifyPaymentMethodMutation, ye as useVoidInvoiceMutation };
|
|
3592
3699
|
|
|
3593
3700
|
//# sourceMappingURL=global-operations.js.map
|