@@ -32,7 +32,7 @@ export type BillingEvent<T> = CloudEvent<FirebaseAlertData<T>, WithAlertType>;
32
32
/** @internal */
33
33
export const planUpdateAlert = 'billing.planUpdate' ;
34
34
/** @internal */
35
- export const automatedPlanUpdateAlert = 'billing.automatedPlanUpdate ' ;
35
+ export const planAutomatedUpdateAlert = 'billing.planAutomatedUpdate ' ;
36
36
37
37
/**
38
38
* Declares a function that can handle a billing plan update event.
@@ -60,18 +60,18 @@ export function onPlanUpdatePublished(
60
60
/**
61
61
* Declares a function that can handle an automated billing plan update event.
62
62
*/
63
- export function onAutomatedPlanUpdatePublished (
63
+ export function onPlanAutomatedUpdatePublished (
64
64
handler : (
65
65
event : BillingEvent < PlanAutomatedUpdatePayload >
66
66
) => any | Promise < any >
67
67
) : CloudFunction < FirebaseAlertData < PlanAutomatedUpdatePayload > > ;
68
- export function onAutomatedPlanUpdatePublished (
68
+ export function onPlanAutomatedUpdatePublished (
69
69
opts : options . EventHandlerOptions ,
70
70
handler : (
71
71
event : BillingEvent < PlanAutomatedUpdatePayload >
72
72
) => any | Promise < any >
73
73
) : CloudFunction < FirebaseAlertData < PlanAutomatedUpdatePayload > > ;
74
- export function onAutomatedPlanUpdatePublished (
74
+ export function onPlanAutomatedUpdatePublished (
75
75
optsOrHandler :
76
76
| options . EventHandlerOptions
77
77
| ( ( event : BillingEvent < PlanAutomatedUpdatePayload > ) => any | Promise < any > ) ,
@@ -80,7 +80,7 @@ export function onAutomatedPlanUpdatePublished(
80
80
) => any | Promise < any >
81
81
) : CloudFunction < FirebaseAlertData < PlanAutomatedUpdatePayload > > {
82
82
return onOperation < PlanAutomatedUpdatePayload > (
83
- automatedPlanUpdateAlert ,
83
+ planAutomatedUpdateAlert ,
84
84
optsOrHandler ,
85
85
handler
86
86
) ;
0 commit comments