@zernio/node 0.2.1841 → 0.2.1843

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/index.d.mts CHANGED
@@ -24028,7 +24028,7 @@ type StagedAdChange = {
24028
24028
  */
24029
24029
  id: string;
24030
24030
  /**
24031
- * Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the new values only.
24031
+ * Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the sent values only.
24032
24032
  */
24033
24033
  type: 'campaign_status' | 'ad_set_status' | 'ad_status' | 'campaign_update' | 'ad_set_update' | 'ad_update' | 'campaign_targeting' | 'ad_create' | 'campaign_create' | 'ad_set_create' | 'operation';
24034
24034
  /**
@@ -24044,6 +24044,18 @@ type StagedAdChange = {
24044
24044
  * The path of the write, for example /v1/ads/keywords.
24045
24045
  */
24046
24046
  path: string;
24047
+ /**
24048
+ * The path values of the staged request, by the names in `path`.
24049
+ */
24050
+ params?: {
24051
+ [key: string]: (string);
24052
+ };
24053
+ /**
24054
+ * The query values of the staged request, without `stage`.
24055
+ */
24056
+ query?: {
24057
+ [key: string]: (string);
24058
+ };
24047
24059
  };
24048
24060
  /**
24049
24061
  * The ad platform of the object, as the write route names it.
@@ -24058,7 +24070,7 @@ type StagedAdChange = {
24058
24070
  */
24059
24071
  adAccountId: string;
24060
24072
  /**
24061
- * The object the change applies to: the platform campaign id, the platform ad set id, or the Zernio ad id. Null for a create, whose object does not exist yet.
24073
+ * The object the change applies to: the platform campaign id, the platform ad set id, or the Zernio ad id. A write staged as its request with no such object carries the last id of its path. Null when there is none, as for a create.
24062
24074
  */
24063
24075
  targetId: (string) | null;
24064
24076
  /**
@@ -24153,7 +24165,7 @@ type StagedAdChange = {
24153
24165
  };
24154
24166
  };
24155
24167
  /**
24156
- * Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the new values only.
24168
+ * Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the sent values only.
24157
24169
  */
24158
24170
  type type32 = 'campaign_status' | 'ad_set_status' | 'ad_status' | 'campaign_update' | 'ad_set_update' | 'ad_update' | 'campaign_targeting' | 'ad_create' | 'campaign_create' | 'ad_set_create' | 'operation';
24159
24171
  /**
@@ -36254,6 +36266,10 @@ type GetBalanceError = ({
36254
36266
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
36255
36267
  */
36256
36268
  has_payment_method?: boolean;
36269
+ /**
36270
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
36271
+ */
36272
+ can_add_card?: boolean;
36257
36273
  /**
36258
36274
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
36259
36275
  */
@@ -36446,6 +36462,10 @@ type ListTopupsError = (ErrorResponse | {
36446
36462
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
36447
36463
  */
36448
36464
  has_payment_method?: boolean;
36465
+ /**
36466
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
36467
+ */
36468
+ can_add_card?: boolean;
36449
36469
  /**
36450
36470
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
36451
36471
  */
@@ -36543,6 +36563,10 @@ type PreviewTopupError = (ErrorResponse | {
36543
36563
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
36544
36564
  */
36545
36565
  has_payment_method?: boolean;
36566
+ /**
36567
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
36568
+ */
36569
+ can_add_card?: boolean;
36546
36570
  /**
36547
36571
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
36548
36572
  */
@@ -36645,6 +36669,10 @@ type GetTopupReceiptError = (ErrorResponse | {
36645
36669
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
36646
36670
  */
36647
36671
  has_payment_method?: boolean;
36672
+ /**
36673
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
36674
+ */
36675
+ can_add_card?: boolean;
36648
36676
  /**
36649
36677
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
36650
36678
  */
@@ -36739,6 +36767,10 @@ type GetTopupInvoiceError = (ErrorResponse | {
36739
36767
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
36740
36768
  */
36741
36769
  has_payment_method?: boolean;
36770
+ /**
36771
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
36772
+ */
36773
+ can_add_card?: boolean;
36742
36774
  /**
36743
36775
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
36744
36776
  */
@@ -36833,6 +36865,10 @@ type GetTopupStatementError = (ErrorResponse | {
36833
36865
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
36834
36866
  */
36835
36867
  has_payment_method?: boolean;
36868
+ /**
36869
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
36870
+ */
36871
+ can_add_card?: boolean;
36836
36872
  /**
36837
36873
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
36838
36874
  */
@@ -36904,6 +36940,10 @@ type ConfirmTopupError = (ErrorResponse | {
36904
36940
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
36905
36941
  */
36906
36942
  has_payment_method?: boolean;
36943
+ /**
36944
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
36945
+ */
36946
+ can_add_card?: boolean;
36907
36947
  /**
36908
36948
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
36909
36949
  */
@@ -36968,6 +37008,10 @@ type CancelTopupError = (ErrorResponse | {
36968
37008
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
36969
37009
  */
36970
37010
  has_payment_method?: boolean;
37011
+ /**
37012
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
37013
+ */
37014
+ can_add_card?: boolean;
36971
37015
  /**
36972
37016
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
36973
37017
  */
@@ -37029,6 +37073,10 @@ type ListPayeesError = ({
37029
37073
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
37030
37074
  */
37031
37075
  has_payment_method?: boolean;
37076
+ /**
37077
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
37078
+ */
37079
+ can_add_card?: boolean;
37032
37080
  /**
37033
37081
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
37034
37082
  */
@@ -37101,6 +37149,10 @@ type CreatePayeeOnboardingLinkError = (ErrorResponse | {
37101
37149
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
37102
37150
  */
37103
37151
  has_payment_method?: boolean;
37152
+ /**
37153
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
37154
+ */
37155
+ can_add_card?: boolean;
37104
37156
  /**
37105
37157
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
37106
37158
  */
@@ -37199,6 +37251,10 @@ type ListTransfersError = (ErrorResponse | {
37199
37251
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
37200
37252
  */
37201
37253
  has_payment_method?: boolean;
37254
+ /**
37255
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
37256
+ */
37257
+ can_add_card?: boolean;
37202
37258
  /**
37203
37259
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
37204
37260
  */
@@ -37268,6 +37324,10 @@ type GetTransferError = (ErrorResponse | {
37268
37324
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
37269
37325
  */
37270
37326
  has_payment_method?: boolean;
37327
+ /**
37328
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
37329
+ */
37330
+ can_add_card?: boolean;
37271
37331
  /**
37272
37332
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
37273
37333
  */
@@ -39972,6 +40032,10 @@ type CreateProfileError = (unknown | ErrorResponse | {
39972
40032
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
39973
40033
  */
39974
40034
  has_payment_method?: boolean;
40035
+ /**
40036
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
40037
+ */
40038
+ can_add_card?: boolean;
39975
40039
  /**
39976
40040
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
39977
40041
  */
@@ -42015,6 +42079,10 @@ type GetConnectUrlError = (unknown | ErrorResponse | {
42015
42079
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
42016
42080
  */
42017
42081
  has_payment_method?: boolean;
42082
+ /**
42083
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
42084
+ */
42085
+ can_add_card?: boolean;
42018
42086
  /**
42019
42087
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
42020
42088
  */
@@ -42090,6 +42158,10 @@ type HandleOAuthCallbackError = (unknown | ErrorResponse | {
42090
42158
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
42091
42159
  */
42092
42160
  has_payment_method?: boolean;
42161
+ /**
42162
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
42163
+ */
42164
+ can_add_card?: boolean;
42093
42165
  /**
42094
42166
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
42095
42167
  */
@@ -42331,6 +42403,10 @@ type ConnectAdsError = (unknown | ErrorResponse | {
42331
42403
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
42332
42404
  */
42333
42405
  has_payment_method?: boolean;
42406
+ /**
42407
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
42408
+ */
42409
+ can_add_card?: boolean;
42334
42410
  /**
42335
42411
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
42336
42412
  */
@@ -42429,6 +42505,10 @@ type GetShopifyConnectUrlError = (unknown | ErrorResponse | {
42429
42505
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
42430
42506
  */
42431
42507
  has_payment_method?: boolean;
42508
+ /**
42509
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
42510
+ */
42511
+ can_add_card?: boolean;
42432
42512
  /**
42433
42513
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
42434
42514
  */
@@ -42513,6 +42593,10 @@ type ConnectShopifyWithTokenError = (unknown | ErrorResponse | {
42513
42593
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
42514
42594
  */
42515
42595
  has_payment_method?: boolean;
42596
+ /**
42597
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
42598
+ */
42599
+ can_add_card?: boolean;
42516
42600
  /**
42517
42601
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
42518
42602
  */
@@ -42620,6 +42704,10 @@ type GetGoogleAnalyticsConnectUrlError = (ErrorResponse | {
42620
42704
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
42621
42705
  */
42622
42706
  has_payment_method?: boolean;
42707
+ /**
42708
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
42709
+ */
42710
+ can_add_card?: boolean;
42623
42711
  /**
42624
42712
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
42625
42713
  */
@@ -42778,6 +42866,10 @@ type GetGoogleSearchConsoleConnectUrlError = (ErrorResponse | {
42778
42866
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
42779
42867
  */
42780
42868
  has_payment_method?: boolean;
42869
+ /**
42870
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
42871
+ */
42872
+ can_add_card?: boolean;
42781
42873
  /**
42782
42874
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
42783
42875
  */
@@ -42906,6 +42998,10 @@ type GetCampaignManagerConnectUrlError = (ErrorResponse | {
42906
42998
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
42907
42999
  */
42908
43000
  has_payment_method?: boolean;
43001
+ /**
43002
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
43003
+ */
43004
+ can_add_card?: boolean;
42909
43005
  /**
42910
43006
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
42911
43007
  */
@@ -43040,6 +43136,10 @@ type GetAmazonAdsConnectUrlError = (ErrorResponse | {
43040
43136
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
43041
43137
  */
43042
43138
  has_payment_method?: boolean;
43139
+ /**
43140
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
43141
+ */
43142
+ can_add_card?: boolean;
43043
43143
  /**
43044
43144
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
43045
43145
  */
@@ -43122,6 +43222,10 @@ type GetHubSpotConnectUrlError = (ErrorResponse | {
43122
43222
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
43123
43223
  */
43124
43224
  has_payment_method?: boolean;
43225
+ /**
43226
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
43227
+ */
43228
+ can_add_card?: boolean;
43125
43229
  /**
43126
43230
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
43127
43231
  */
@@ -43235,6 +43339,10 @@ type GetSalesforceConnectUrlError = (ErrorResponse | {
43235
43339
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
43236
43340
  */
43237
43341
  has_payment_method?: boolean;
43342
+ /**
43343
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
43344
+ */
43345
+ can_add_card?: boolean;
43238
43346
  /**
43239
43347
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
43240
43348
  */
@@ -43317,6 +43425,10 @@ type GetStripeConnectUrlError = (ErrorResponse | {
43317
43425
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
43318
43426
  */
43319
43427
  has_payment_method?: boolean;
43428
+ /**
43429
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
43430
+ */
43431
+ can_add_card?: boolean;
43320
43432
  /**
43321
43433
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
43322
43434
  */
@@ -43399,6 +43511,10 @@ type GetWordPressAuthUrlError = (unknown | ErrorResponse | {
43399
43511
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
43400
43512
  */
43401
43513
  has_payment_method?: boolean;
43514
+ /**
43515
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
43516
+ */
43517
+ can_add_card?: boolean;
43402
43518
  /**
43403
43519
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
43404
43520
  */
@@ -43481,6 +43597,10 @@ type GetWixConnectUrlError = (unknown | ErrorResponse | {
43481
43597
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
43482
43598
  */
43483
43599
  has_payment_method?: boolean;
43600
+ /**
43601
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
43602
+ */
43603
+ can_add_card?: boolean;
43484
43604
  /**
43485
43605
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
43486
43606
  */
@@ -43563,6 +43683,10 @@ type GetWebflowConnectUrlError = (unknown | ErrorResponse | {
43563
43683
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
43564
43684
  */
43565
43685
  has_payment_method?: boolean;
43686
+ /**
43687
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
43688
+ */
43689
+ can_add_card?: boolean;
43566
43690
  /**
43567
43691
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
43568
43692
  */
@@ -43650,6 +43774,10 @@ type ConnectWebflowWithSiteTokenError = (unknown | ErrorResponse | {
43650
43774
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
43651
43775
  */
43652
43776
  has_payment_method?: boolean;
43777
+ /**
43778
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
43779
+ */
43780
+ can_add_card?: boolean;
43653
43781
  /**
43654
43782
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
43655
43783
  */
@@ -43771,6 +43899,10 @@ type ConnectWordPressWithApplicationPasswordError = (unknown | {
43771
43899
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
43772
43900
  */
43773
43901
  has_payment_method?: boolean;
43902
+ /**
43903
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
43904
+ */
43905
+ can_add_card?: boolean;
43774
43906
  /**
43775
43907
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
43776
43908
  */
@@ -44142,6 +44274,10 @@ type SelectInstagramAccountError = (unknown | ErrorResponse | {
44142
44274
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
44143
44275
  */
44144
44276
  has_payment_method?: boolean;
44277
+ /**
44278
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
44279
+ */
44280
+ can_add_card?: boolean;
44145
44281
  /**
44146
44282
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
44147
44283
  */
@@ -46303,6 +46439,10 @@ type ConnectOpenAiAdsCredentialsError = (ErrorResponse | unknown | {
46303
46439
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
46304
46440
  */
46305
46441
  has_payment_method?: boolean;
46442
+ /**
46443
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
46444
+ */
46445
+ can_add_card?: boolean;
46306
46446
  /**
46307
46447
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
46308
46448
  */
@@ -46416,6 +46556,10 @@ type ConnectAppLovinAdsCredentialsError = (ErrorResponse | unknown | {
46416
46556
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
46417
46557
  */
46418
46558
  has_payment_method?: boolean;
46559
+ /**
46560
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
46561
+ */
46562
+ can_add_card?: boolean;
46419
46563
  /**
46420
46564
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
46421
46565
  */
@@ -46506,6 +46650,10 @@ type ConnectSnapchatAdsCredentialsError = (ErrorResponse | unknown | {
46506
46650
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
46507
46651
  */
46508
46652
  has_payment_method?: boolean;
46653
+ /**
46654
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
46655
+ */
46656
+ can_add_card?: boolean;
46509
46657
  /**
46510
46658
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
46511
46659
  */
@@ -46593,6 +46741,10 @@ type ConnectKlaviyoCredentialsError = (ErrorResponse | unknown | {
46593
46741
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
46594
46742
  */
46595
46743
  has_payment_method?: boolean;
46744
+ /**
46745
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
46746
+ */
46747
+ can_add_card?: boolean;
46596
46748
  /**
46597
46749
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
46598
46750
  */
@@ -46679,6 +46831,10 @@ type ConnectAttentiveCredentialsError = (ErrorResponse | unknown | {
46679
46831
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
46680
46832
  */
46681
46833
  has_payment_method?: boolean;
46834
+ /**
46835
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
46836
+ */
46837
+ can_add_card?: boolean;
46682
46838
  /**
46683
46839
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
46684
46840
  */
@@ -46777,6 +46933,10 @@ type ConnectImpactCredentialsError = (ErrorResponse | unknown | {
46777
46933
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
46778
46934
  */
46779
46935
  has_payment_method?: boolean;
46936
+ /**
46937
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
46938
+ */
46939
+ can_add_card?: boolean;
46780
46940
  /**
46781
46941
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
46782
46942
  */
@@ -46867,6 +47027,10 @@ type ConnectAwinCredentialsError = (ErrorResponse | unknown | {
46867
47027
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
46868
47028
  */
46869
47029
  has_payment_method?: boolean;
47030
+ /**
47031
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
47032
+ */
47033
+ can_add_card?: boolean;
46870
47034
  /**
46871
47035
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
46872
47036
  */
@@ -46958,6 +47122,10 @@ type ConnectTradeDeskAdsCredentialsError = (ErrorResponse | {
46958
47122
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
46959
47123
  */
46960
47124
  has_payment_method?: boolean;
47125
+ /**
47126
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
47127
+ */
47128
+ can_add_card?: boolean;
46961
47129
  /**
46962
47130
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
46963
47131
  */
@@ -47059,6 +47227,10 @@ type ConnectTradeDeskAdsPartnerError = (ErrorResponse | unknown | {
47059
47227
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
47060
47228
  */
47061
47229
  has_payment_method?: boolean;
47230
+ /**
47231
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
47232
+ */
47233
+ can_add_card?: boolean;
47062
47234
  /**
47063
47235
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
47064
47236
  */
@@ -47145,6 +47317,10 @@ type ConnectTaboolaAdsCredentialsError = (ErrorResponse | {
47145
47317
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
47146
47318
  */
47147
47319
  has_payment_method?: boolean;
47320
+ /**
47321
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
47322
+ */
47323
+ can_add_card?: boolean;
47148
47324
  /**
47149
47325
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
47150
47326
  */
@@ -47231,6 +47407,10 @@ type ConnectOutbrainAdsCredentialsError = (ErrorResponse | {
47231
47407
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
47232
47408
  */
47233
47409
  has_payment_method?: boolean;
47410
+ /**
47411
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
47412
+ */
47413
+ can_add_card?: boolean;
47234
47414
  /**
47235
47415
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
47236
47416
  */
@@ -47319,6 +47499,10 @@ type ConnectWhopAdsCredentialsError = (ErrorResponse | unknown | {
47319
47499
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
47320
47500
  */
47321
47501
  has_payment_method?: boolean;
47502
+ /**
47503
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
47504
+ */
47505
+ can_add_card?: boolean;
47322
47506
  /**
47323
47507
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
47324
47508
  */
@@ -47623,6 +47807,10 @@ type ConnectWhatsAppEmbeddedSignupError = (ErrorResponse | {
47623
47807
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
47624
47808
  */
47625
47809
  has_payment_method?: boolean;
47810
+ /**
47811
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
47812
+ */
47813
+ can_add_card?: boolean;
47626
47814
  /**
47627
47815
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
47628
47816
  */
@@ -47734,6 +47922,10 @@ type ConnectDiscordChannelError = (ErrorResponse | {
47734
47922
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
47735
47923
  */
47736
47924
  has_payment_method?: boolean;
47925
+ /**
47926
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
47927
+ */
47928
+ can_add_card?: boolean;
47737
47929
  /**
47738
47930
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
47739
47931
  */
@@ -47883,6 +48075,10 @@ type ConnectSlackChannelError = (ErrorResponse | {
47883
48075
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
47884
48076
  */
47885
48077
  has_payment_method?: boolean;
48078
+ /**
48079
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
48080
+ */
48081
+ can_add_card?: boolean;
47886
48082
  /**
47887
48083
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
47888
48084
  */
@@ -51740,6 +51936,10 @@ type SendEmailMessageError = (ErrorResponse | {
51740
51936
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
51741
51937
  */
51742
51938
  has_payment_method?: boolean;
51939
+ /**
51940
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
51941
+ */
51942
+ can_add_card?: boolean;
51743
51943
  /**
51744
51944
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
51745
51945
  */
@@ -51942,6 +52142,10 @@ type ReplyEmailMessageError = (ErrorResponse | {
51942
52142
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
51943
52143
  */
51944
52144
  has_payment_method?: boolean;
52145
+ /**
52146
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
52147
+ */
52148
+ can_add_card?: boolean;
51945
52149
  /**
51946
52150
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
51947
52151
  */
@@ -52024,6 +52228,10 @@ type ForwardEmailMessageError = (ErrorResponse | {
52024
52228
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
52025
52229
  */
52026
52230
  has_payment_method?: boolean;
52231
+ /**
52232
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
52233
+ */
52234
+ can_add_card?: boolean;
52027
52235
  /**
52028
52236
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
52029
52237
  */
@@ -52215,6 +52423,10 @@ type SendEmailDraftError = (ErrorResponse | {
52215
52423
  * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
52216
52424
  */
52217
52425
  has_payment_method?: boolean;
52426
+ /**
52427
+ * Whether the caller can add the card themselves (the payer, or an owner, admin or billing admin of the workspace). False for a member or a viewer: the workspace owner has to add it. Set for the card reasons.
52428
+ */
52429
+ can_add_card?: boolean;
52218
52430
  /**
52219
52431
  * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
52220
52432
  */