@@ -68,10 +68,10 @@ export class ActorClient extends ResourceClient {
68
68
waitForFinish : ow . optional . number ,
69
69
webhooks : ow . optional . array . ofType ( ow . object ) ,
70
70
maxItems : ow . optional . number . not . negative ,
71
- maxCostPerRunUsd : ow . optional . number . not . negative ,
71
+ maxTotalChargeUsd : ow . optional . number . not . negative ,
72
72
} ) ) ;
73
73
74
- const { waitForFinish, timeout, memory, build, maxItems, maxCostPerRunUsd } = options ;
74
+ const { waitForFinish, timeout, memory, build, maxItems, maxTotalChargeUsd } = options ;
75
75
76
76
const params = {
77
77
waitForFinish,
@@ -80,7 +80,7 @@ export class ActorClient extends ResourceClient {
80
80
build,
81
81
webhooks : stringifyWebhooksToBase64 ( options . webhooks ) ,
82
82
maxItems,
83
- maxCostPerRunUsd ,
83
+ maxTotalChargeUsd ,
84
84
} ;
85
85
86
86
const request : AxiosRequestConfig = {
@@ -121,7 +121,7 @@ export class ActorClient extends ResourceClient {
121
121
waitSecs : ow . optional . number . not . negative ,
122
122
webhooks : ow . optional . array . ofType ( ow . object ) ,
123
123
maxItems : ow . optional . number . not . negative ,
124
- maxCostPerRunUsd : ow . optional . number . not . negative ,
124
+ maxTotalChargeUsd : ow . optional . number . not . negative ,
125
125
} ) ) ;
126
126
127
127
const { waitSecs, ...startOptions } = options ;
@@ -350,7 +350,7 @@ export interface ActorStartOptions {
350
350
*/
351
351
maxItems ?: number ;
352
352
353
- // TODO(PPE): add maxCostPerRunUsd after finished
353
+ // TODO(PPE): add maxTotalChargeUsd after finished
354
354
}
355
355
356
356
export interface ActorCallOptions extends Omit < ActorStartOptions , 'waitForFinish' > {
0 commit comments