@trillboards/api-client 3.4.13 → 3.5.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.
@@ -1,3 +1,3 @@
1
- export { advertiserBuyingRoutes, advertiserRoutes, generatedTypes } from './chunk-XNJ4W7N6.mjs';
1
+ export { advertiserBuyingRoutes, advertiserRoutes, dspRoutes, generatedTypes } from './chunk-2NBCWBT2.mjs';
2
2
  //# sourceMappingURL=generated.mjs.map
3
3
  //# sourceMappingURL=generated.mjs.map
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { AdvertiserBuyingOperations, DemandBuyer_buyingSearchInventory_Result, DemandBuyer_buyingPreviewPlan_Result, DemandBuyer_buyingSaveCampaign_Result, DemandBuyer_buyingAttachCreative_Result, DemandBuyer_buyingPrepareBooking_Result, DemandBuyer_buyingCreateCheckout_Result, DemandBuyer_buyingGetCampaign_Result, DemandBuyer_buyingGetDelivery_Result, DemandBuyer_buyingRebookCampaign_Result, DemandBuyer_buyingStopCampaign_Result, DemandBuyer_buyingAmendFlight_Result, DemandBuyer_buyingUpdateMetadata_Result, Screen, PartnerDeviceRegistrationInput, DisplaySettingsResponse, DisplaySettingsInput, Device, PartnerDeviceBatchRegistrationInput, Impression, AnalyticsData, EarningsData, ErrorEntry, Webhook, FleetCommand, AudienceData, dataApiListScreensOperation, dataApiScreenAudienceHistoryOperation, dataApiScreenAudienceLiveOperation, dataApiQueryDslOperation, dataApiStreamOperation, setupBillingOperation, createCreditCheckoutOperation, purchaseCreditsOperation, getBillingUsageSummaryOperation, BillingInfo, CreatePartnerSensingRouteRequest, SensingRoute, UpdatePartnerSensingRouteRequest, createCreativeFeedbackExperimentOperation, configureCreativeFeedbackBrandOperation, importCreativeFeedbackCreativeOperation, getCreativeFeedbackExperimentOperation, registerCreativeFeedbackVariantsOperation, updateCreativeFeedbackPolicyOperation, getCreativeFeedbackRewardsOperation, generateCreativeFeedbackCreativeOperation, reviewCreativeFeedbackCreativeOperation, stopCreativeFeedbackExperimentOperation, getOwnedReactiveBrandOperation, setOwnedReactiveBrandOperation, importOwnedReactiveCreativeOperation, generateOwnedReactiveCreativeOperation, reviewOwnedReactiveCreativeOperation, listOwnedReactiveCreativesOperation, getScreenReactiveSettingsOperation, updateScreenReactiveSettingsOperation, getGroupReactiveSettingsOperation, updateGroupReactiveSettingsOperation, getOwnedReactiveCampaignOperation, updateOwnedReactiveCampaignOperation, getScreenGroupSensingConfigOperation, updateScreenGroupSensingConfigOperation, Mcp_get_products_Args, Mcp_list_accounts_Args, Mcp_sync_accounts_Args, Mcp_create_media_buy_Args, Mcp_get_media_buys_Args, Mcp_update_media_buy_Args, Mcp_get_media_buy_delivery_Args, Mcp_sync_creatives_Args, Mcp_discover_inventory_Args, AdvertiserOperations, advertiserRoutes, WebhookEvent } from './generated.mjs';
1
+ import { AdvertiserBuyingOperations, DemandBuyer_buyingSearchInventory_Result, DemandBuyer_buyingPreviewPlan_Result, DemandBuyer_buyingSaveCampaign_Result, DemandBuyer_buyingAttachCreative_Result, DemandBuyer_buyingPrepareBooking_Result, DemandBuyer_buyingCreateCheckout_Result, DemandBuyer_buyingGetCampaign_Result, DemandBuyer_buyingGetDelivery_Result, DemandBuyer_buyingRebookCampaign_Result, DemandBuyer_buyingStopCampaign_Result, DemandBuyer_buyingAmendFlight_Result, DemandBuyer_buyingUpdateMetadata_Result, Screen, PartnerDeviceRegistrationInput, DisplaySettingsResponse, DisplaySettingsInput, Device, PartnerDeviceBatchRegistrationInput, Impression, AnalyticsData, EarningsData, ErrorEntry, Webhook, FleetCommand, AudienceData, dataApiListScreensOperation, dataApiScreenAudienceHistoryOperation, dataApiScreenAudienceLiveOperation, dataApiQueryDslOperation, dataApiStreamOperation, setupBillingOperation, createCreditCheckoutOperation, purchaseCreditsOperation, getBillingUsageSummaryOperation, BillingInfo, CreatePartnerSensingRouteRequest, SensingRoute, UpdatePartnerSensingRouteRequest, createCreativeFeedbackExperimentOperation, configureCreativeFeedbackBrandOperation, importCreativeFeedbackCreativeOperation, getCreativeFeedbackExperimentOperation, registerCreativeFeedbackVariantsOperation, updateCreativeFeedbackPolicyOperation, getCreativeFeedbackRewardsOperation, generateCreativeFeedbackCreativeOperation, reviewCreativeFeedbackCreativeOperation, stopCreativeFeedbackExperimentOperation, getOwnedReactiveBrandOperation, setOwnedReactiveBrandOperation, importOwnedReactiveCreativeOperation, generateOwnedReactiveCreativeOperation, reviewOwnedReactiveCreativeOperation, listOwnedReactiveCreativesOperation, getScreenReactiveSettingsOperation, updateScreenReactiveSettingsOperation, getGroupReactiveSettingsOperation, updateGroupReactiveSettingsOperation, getOwnedReactiveCampaignOperation, updateOwnedReactiveCampaignOperation, getScreenGroupSensingConfigOperation, updateScreenGroupSensingConfigOperation, Mcp_get_products_Args, Mcp_list_accounts_Args, Mcp_sync_accounts_Args, Mcp_create_media_buy_Args, Mcp_get_media_buys_Args, Mcp_update_media_buy_Args, Mcp_get_media_buy_delivery_Args, Mcp_sync_creatives_Args, Mcp_discover_inventory_Args, AdvertiserOperations, advertiserRoutes, WebhookEvent, DspOperations } from './generated.mjs';
2
2
  export { BleScanResultData, ContentFitSettings, CreativeRewardsReadyEvent, DeviceCapabilityPayload, FeedbackBrand, FeedbackBrandRequest, FeedbackCreateRequest, FeedbackExperiment, FeedbackGenerateRequest, FeedbackGeneratedCreative, FeedbackImportRequest, FeedbackPolicyRequest, FeedbackRegisterVariantsRequest, FeedbackReviewRequest, FeedbackRewardQuery, FeedbackRewardRow, FeedbackRewards, FeedbackStopRequest, GeneratedOperationName, GeneratedSchemaName, HttpProbeResult, MdnsNetworkDevice, PartnerAdDeliveryProfile, PartnerDeviceHeartbeatBody, PartnerHeartbeatMeasurementMetadata, PartnerHeartbeatQueryData, PartnerHeartbeatQueryResponse, PartnerHeartbeatRequest, PartnerHeartbeatResponse, PartnerSafeHeartbeatTelemetry, SsdpDeviceInfo, WifiEnvironmentSnapshot, WifiScanResult, generatedTypes, getDeviceHeartbeatOperation, heartbeatOperation } from './generated.mjs';
3
3
  import { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
4
4
 
@@ -247,9 +247,9 @@ interface BuyerWriteOptions {
247
247
  retry?: RetryOptions;
248
248
  headers?: Record<string, string>;
249
249
  }
250
- type Operation$1 = keyof AdvertiserBuyingOperations;
251
- type Input<K extends Operation$1> = AdvertiserBuyingOperations[K]['request'];
252
- type Query<K extends Operation$1> = AdvertiserBuyingOperations[K]['query'];
250
+ type Operation$2 = keyof AdvertiserBuyingOperations;
251
+ type Input<K extends Operation$2> = AdvertiserBuyingOperations[K]['request'];
252
+ type Query<K extends Operation$2> = AdvertiserBuyingOperations[K]['query'];
253
253
  /** Dedicated buyer OAuth transport over the same mounted advertiser operations. */
254
254
  declare class AdvertiserBuyingClient {
255
255
  private readonly http;
@@ -914,21 +914,21 @@ interface AdvertiserOptions {
914
914
  version?: string;
915
915
  }
916
916
  type AdvertiserOperationId = keyof AdvertiserOperations;
917
- type Operation<K extends AdvertiserOperationId> = AdvertiserOperations[K];
917
+ type Operation$1<K extends AdvertiserOperationId> = AdvertiserOperations[K];
918
918
  type Part<Name extends string, Value> = {} extends Value ? {
919
919
  [P in Name]?: Value;
920
920
  } : {
921
921
  [P in Name]: Value;
922
922
  };
923
- type Body<K extends AdvertiserOperationId> = Operation<K>['request'] | ((typeof advertiserRoutes)[K]['contentType'] extends 'multipart/form-data' ? FormData : never);
924
- type AdvertiserRequest<K extends AdvertiserOperationId> = Part<'params', Operation<K>['params']> & Part<'query', Operation<K>['query']> & Part<'headers', NonNullable<Operation<K>['headers']>> & ([Body<K>] extends [never] ? {
923
+ type Body<K extends AdvertiserOperationId> = Operation$1<K>['request'] | ((typeof advertiserRoutes)[K]['contentType'] extends 'multipart/form-data' ? FormData : never);
924
+ type AdvertiserRequest<K extends AdvertiserOperationId> = Part<'params', Operation$1<K>['params']> & Part<'query', Operation$1<K>['query']> & Part<'headers', NonNullable<Operation$1<K>['headers']>> & ([Body<K>] extends [never] ? {
925
925
  body?: never;
926
- } : NonNullable<Operation<K>['requestRequired']> extends true ? {
926
+ } : NonNullable<Operation$1<K>['requestRequired']> extends true ? {
927
927
  body: Body<K>;
928
928
  } : {
929
929
  body?: Body<K>;
930
930
  });
931
- type AdvertiserResponse<K extends AdvertiserOperationId> = Operation<K>['response'];
931
+ type AdvertiserResponse<K extends AdvertiserOperationId> = Operation$1<K>['response'];
932
932
  /** Typed access to the existing native advertiser and user HTTP routes. */
933
933
  declare class AdvertiserClient {
934
934
  private readonly http;
@@ -1190,6 +1190,25 @@ declare const Webhooks: {
1190
1190
  * fails the PR when they differ, and the publish lane's tests (publish-api-client.yml)
1191
1191
  * refuse the release.
1192
1192
  */
1193
- declare const VERSION = "3.4.13";
1193
+ declare const VERSION = "3.5.1";
1194
1194
 
1195
- export { ADCP_WEBHOOK_SIGNING_TAG, ADVERTISER_BUYING_RESOURCE, type AdcpJwk, AdvertiserBuyingClient, type AdvertiserBuyingOptions, AdvertiserClient, type AdvertiserOperationId, AdvertiserOperations, type AdvertiserOptions, type AdvertiserRequest, type AdvertiserResponse, AnalyticsClient, AnalyticsData, type ApiErrorType, AudienceClient, AudienceData, BillingClient, BillingInfo, type BillingOperationOptions, type BuyerWriteOptions, type ClientOptions, type ConstructEventOptions, type ContentFitMode, CreatePartnerSensingRouteRequest, CreativeExperimentsClient, DataClient, type DataStreamEvent, Device, DevicesClient, DisplaySettingsInput, DisplaySettingsResponse, EarningsClient, EarningsData, type ErrorDetail, ErrorEntry, type ErrorResponseBody, ErrorsClient, FleetClient, FleetCommand, Impression, ImpressionsClient, type ListResponse, McpToolError, Mcp_create_media_buy_Args, Mcp_discover_inventory_Args, Mcp_get_media_buy_delivery_Args, Mcp_get_media_buys_Args, Mcp_get_products_Args, Mcp_list_accounts_Args, Mcp_sync_accounts_Args, Mcp_sync_creatives_Args, Mcp_update_media_buy_Args, type MediaAccountsResponse, type MediaAccountsSyncResponse, type MediaBuy, type MediaBuyUpdateResponse, MediaBuysClient, type MediaBuysResponse, type MediaCreativeSyncResponse, type MediaDeliveryResponse, type MediaFunding, type MediaNativeError, type MediaPackage, type MediaPagination, type MediaProduct, type MediaProductsResponse, type ParsedSignatureHeader, PartnerDeviceBatchRegistrationInput, PartnerDeviceRegistrationInput, ReactiveClient, type RequestOptions, type RetryOptions, type RouteAction, type RouteChannel, type RouteCondition, type RouteConditionOp, type RouteDigest, type RouteDigestSummary, type RouteWebhookEvent, RoutesClient, Screen, ScreensClient, SensingRoute, type SensingThresholdCrossedEvent, type StreamOptions, TrillboardsClient, TrillboardsError, type TrillboardsErrorOptions, UpdatePartnerSensingRouteRequest, VERSION, type VerifyAdcpWebhookOptions, Webhook, WebhookEvent, type WebhookHeaders, Webhooks, WebhooksClient, advertiserRoutes, constructEvent, constructEventLegacy, createCreditCheckoutOperation, dataApiListScreensOperation, dataApiQueryDslOperation, dataApiScreenAudienceHistoryOperation, dataApiScreenAudienceLiveOperation, dataApiStreamOperation, getBillingUsageSummaryOperation, parseSignatureHeader, purchaseCreditsOperation, retryWithBackoff, setupBillingOperation, verifyAdcpWebhook };
1195
+ interface DspClientOptions {
1196
+ /** The existing platform API key linked to the DSP seat. Omit only for onboarding. */
1197
+ apiKey?: string;
1198
+ baseUrl?: string;
1199
+ version?: string;
1200
+ }
1201
+ type Operation = keyof DspOperations;
1202
+ type DspInput<K extends Operation> = {
1203
+ params?: DspOperations[K]['params'];
1204
+ query?: DspOperations[K]['query'];
1205
+ body?: DspOperations[K]['request'];
1206
+ };
1207
+ /** Typed transport over the mounted DSP operations; native owners handle each action. */
1208
+ declare class DspClient {
1209
+ private readonly http;
1210
+ constructor(options?: DspClientOptions);
1211
+ execute<K extends Operation>(operation: K, input?: DspInput<K>): Promise<DspOperations[K]['response']>;
1212
+ }
1213
+
1214
+ export { ADCP_WEBHOOK_SIGNING_TAG, ADVERTISER_BUYING_RESOURCE, type AdcpJwk, AdvertiserBuyingClient, type AdvertiserBuyingOptions, AdvertiserClient, type AdvertiserOperationId, AdvertiserOperations, type AdvertiserOptions, type AdvertiserRequest, type AdvertiserResponse, AnalyticsClient, AnalyticsData, type ApiErrorType, AudienceClient, AudienceData, BillingClient, BillingInfo, type BillingOperationOptions, type BuyerWriteOptions, type ClientOptions, type ConstructEventOptions, type ContentFitMode, CreatePartnerSensingRouteRequest, CreativeExperimentsClient, DataClient, type DataStreamEvent, Device, DevicesClient, DisplaySettingsInput, DisplaySettingsResponse, DspClient, type DspClientOptions, type DspInput, DspOperations, EarningsClient, EarningsData, type ErrorDetail, ErrorEntry, type ErrorResponseBody, ErrorsClient, FleetClient, FleetCommand, Impression, ImpressionsClient, type ListResponse, McpToolError, Mcp_create_media_buy_Args, Mcp_discover_inventory_Args, Mcp_get_media_buy_delivery_Args, Mcp_get_media_buys_Args, Mcp_get_products_Args, Mcp_list_accounts_Args, Mcp_sync_accounts_Args, Mcp_sync_creatives_Args, Mcp_update_media_buy_Args, type MediaAccountsResponse, type MediaAccountsSyncResponse, type MediaBuy, type MediaBuyUpdateResponse, MediaBuysClient, type MediaBuysResponse, type MediaCreativeSyncResponse, type MediaDeliveryResponse, type MediaFunding, type MediaNativeError, type MediaPackage, type MediaPagination, type MediaProduct, type MediaProductsResponse, type ParsedSignatureHeader, PartnerDeviceBatchRegistrationInput, PartnerDeviceRegistrationInput, ReactiveClient, type RequestOptions, type RetryOptions, type RouteAction, type RouteChannel, type RouteCondition, type RouteConditionOp, type RouteDigest, type RouteDigestSummary, type RouteWebhookEvent, RoutesClient, Screen, ScreensClient, SensingRoute, type SensingThresholdCrossedEvent, type StreamOptions, TrillboardsClient, TrillboardsError, type TrillboardsErrorOptions, UpdatePartnerSensingRouteRequest, VERSION, type VerifyAdcpWebhookOptions, Webhook, WebhookEvent, type WebhookHeaders, Webhooks, WebhooksClient, advertiserRoutes, constructEvent, constructEventLegacy, createCreditCheckoutOperation, dataApiListScreensOperation, dataApiQueryDslOperation, dataApiScreenAudienceHistoryOperation, dataApiScreenAudienceLiveOperation, dataApiStreamOperation, getBillingUsageSummaryOperation, parseSignatureHeader, purchaseCreditsOperation, retryWithBackoff, setupBillingOperation, verifyAdcpWebhook };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AdvertiserBuyingOperations, DemandBuyer_buyingSearchInventory_Result, DemandBuyer_buyingPreviewPlan_Result, DemandBuyer_buyingSaveCampaign_Result, DemandBuyer_buyingAttachCreative_Result, DemandBuyer_buyingPrepareBooking_Result, DemandBuyer_buyingCreateCheckout_Result, DemandBuyer_buyingGetCampaign_Result, DemandBuyer_buyingGetDelivery_Result, DemandBuyer_buyingRebookCampaign_Result, DemandBuyer_buyingStopCampaign_Result, DemandBuyer_buyingAmendFlight_Result, DemandBuyer_buyingUpdateMetadata_Result, Screen, PartnerDeviceRegistrationInput, DisplaySettingsResponse, DisplaySettingsInput, Device, PartnerDeviceBatchRegistrationInput, Impression, AnalyticsData, EarningsData, ErrorEntry, Webhook, FleetCommand, AudienceData, dataApiListScreensOperation, dataApiScreenAudienceHistoryOperation, dataApiScreenAudienceLiveOperation, dataApiQueryDslOperation, dataApiStreamOperation, setupBillingOperation, createCreditCheckoutOperation, purchaseCreditsOperation, getBillingUsageSummaryOperation, BillingInfo, CreatePartnerSensingRouteRequest, SensingRoute, UpdatePartnerSensingRouteRequest, createCreativeFeedbackExperimentOperation, configureCreativeFeedbackBrandOperation, importCreativeFeedbackCreativeOperation, getCreativeFeedbackExperimentOperation, registerCreativeFeedbackVariantsOperation, updateCreativeFeedbackPolicyOperation, getCreativeFeedbackRewardsOperation, generateCreativeFeedbackCreativeOperation, reviewCreativeFeedbackCreativeOperation, stopCreativeFeedbackExperimentOperation, getOwnedReactiveBrandOperation, setOwnedReactiveBrandOperation, importOwnedReactiveCreativeOperation, generateOwnedReactiveCreativeOperation, reviewOwnedReactiveCreativeOperation, listOwnedReactiveCreativesOperation, getScreenReactiveSettingsOperation, updateScreenReactiveSettingsOperation, getGroupReactiveSettingsOperation, updateGroupReactiveSettingsOperation, getOwnedReactiveCampaignOperation, updateOwnedReactiveCampaignOperation, getScreenGroupSensingConfigOperation, updateScreenGroupSensingConfigOperation, Mcp_get_products_Args, Mcp_list_accounts_Args, Mcp_sync_accounts_Args, Mcp_create_media_buy_Args, Mcp_get_media_buys_Args, Mcp_update_media_buy_Args, Mcp_get_media_buy_delivery_Args, Mcp_sync_creatives_Args, Mcp_discover_inventory_Args, AdvertiserOperations, advertiserRoutes, WebhookEvent } from './generated.js';
1
+ import { AdvertiserBuyingOperations, DemandBuyer_buyingSearchInventory_Result, DemandBuyer_buyingPreviewPlan_Result, DemandBuyer_buyingSaveCampaign_Result, DemandBuyer_buyingAttachCreative_Result, DemandBuyer_buyingPrepareBooking_Result, DemandBuyer_buyingCreateCheckout_Result, DemandBuyer_buyingGetCampaign_Result, DemandBuyer_buyingGetDelivery_Result, DemandBuyer_buyingRebookCampaign_Result, DemandBuyer_buyingStopCampaign_Result, DemandBuyer_buyingAmendFlight_Result, DemandBuyer_buyingUpdateMetadata_Result, Screen, PartnerDeviceRegistrationInput, DisplaySettingsResponse, DisplaySettingsInput, Device, PartnerDeviceBatchRegistrationInput, Impression, AnalyticsData, EarningsData, ErrorEntry, Webhook, FleetCommand, AudienceData, dataApiListScreensOperation, dataApiScreenAudienceHistoryOperation, dataApiScreenAudienceLiveOperation, dataApiQueryDslOperation, dataApiStreamOperation, setupBillingOperation, createCreditCheckoutOperation, purchaseCreditsOperation, getBillingUsageSummaryOperation, BillingInfo, CreatePartnerSensingRouteRequest, SensingRoute, UpdatePartnerSensingRouteRequest, createCreativeFeedbackExperimentOperation, configureCreativeFeedbackBrandOperation, importCreativeFeedbackCreativeOperation, getCreativeFeedbackExperimentOperation, registerCreativeFeedbackVariantsOperation, updateCreativeFeedbackPolicyOperation, getCreativeFeedbackRewardsOperation, generateCreativeFeedbackCreativeOperation, reviewCreativeFeedbackCreativeOperation, stopCreativeFeedbackExperimentOperation, getOwnedReactiveBrandOperation, setOwnedReactiveBrandOperation, importOwnedReactiveCreativeOperation, generateOwnedReactiveCreativeOperation, reviewOwnedReactiveCreativeOperation, listOwnedReactiveCreativesOperation, getScreenReactiveSettingsOperation, updateScreenReactiveSettingsOperation, getGroupReactiveSettingsOperation, updateGroupReactiveSettingsOperation, getOwnedReactiveCampaignOperation, updateOwnedReactiveCampaignOperation, getScreenGroupSensingConfigOperation, updateScreenGroupSensingConfigOperation, Mcp_get_products_Args, Mcp_list_accounts_Args, Mcp_sync_accounts_Args, Mcp_create_media_buy_Args, Mcp_get_media_buys_Args, Mcp_update_media_buy_Args, Mcp_get_media_buy_delivery_Args, Mcp_sync_creatives_Args, Mcp_discover_inventory_Args, AdvertiserOperations, advertiserRoutes, WebhookEvent, DspOperations } from './generated.js';
2
2
  export { BleScanResultData, ContentFitSettings, CreativeRewardsReadyEvent, DeviceCapabilityPayload, FeedbackBrand, FeedbackBrandRequest, FeedbackCreateRequest, FeedbackExperiment, FeedbackGenerateRequest, FeedbackGeneratedCreative, FeedbackImportRequest, FeedbackPolicyRequest, FeedbackRegisterVariantsRequest, FeedbackReviewRequest, FeedbackRewardQuery, FeedbackRewardRow, FeedbackRewards, FeedbackStopRequest, GeneratedOperationName, GeneratedSchemaName, HttpProbeResult, MdnsNetworkDevice, PartnerAdDeliveryProfile, PartnerDeviceHeartbeatBody, PartnerHeartbeatMeasurementMetadata, PartnerHeartbeatQueryData, PartnerHeartbeatQueryResponse, PartnerHeartbeatRequest, PartnerHeartbeatResponse, PartnerSafeHeartbeatTelemetry, SsdpDeviceInfo, WifiEnvironmentSnapshot, WifiScanResult, generatedTypes, getDeviceHeartbeatOperation, heartbeatOperation } from './generated.js';
3
3
  import { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
4
4
 
@@ -247,9 +247,9 @@ interface BuyerWriteOptions {
247
247
  retry?: RetryOptions;
248
248
  headers?: Record<string, string>;
249
249
  }
250
- type Operation$1 = keyof AdvertiserBuyingOperations;
251
- type Input<K extends Operation$1> = AdvertiserBuyingOperations[K]['request'];
252
- type Query<K extends Operation$1> = AdvertiserBuyingOperations[K]['query'];
250
+ type Operation$2 = keyof AdvertiserBuyingOperations;
251
+ type Input<K extends Operation$2> = AdvertiserBuyingOperations[K]['request'];
252
+ type Query<K extends Operation$2> = AdvertiserBuyingOperations[K]['query'];
253
253
  /** Dedicated buyer OAuth transport over the same mounted advertiser operations. */
254
254
  declare class AdvertiserBuyingClient {
255
255
  private readonly http;
@@ -914,21 +914,21 @@ interface AdvertiserOptions {
914
914
  version?: string;
915
915
  }
916
916
  type AdvertiserOperationId = keyof AdvertiserOperations;
917
- type Operation<K extends AdvertiserOperationId> = AdvertiserOperations[K];
917
+ type Operation$1<K extends AdvertiserOperationId> = AdvertiserOperations[K];
918
918
  type Part<Name extends string, Value> = {} extends Value ? {
919
919
  [P in Name]?: Value;
920
920
  } : {
921
921
  [P in Name]: Value;
922
922
  };
923
- type Body<K extends AdvertiserOperationId> = Operation<K>['request'] | ((typeof advertiserRoutes)[K]['contentType'] extends 'multipart/form-data' ? FormData : never);
924
- type AdvertiserRequest<K extends AdvertiserOperationId> = Part<'params', Operation<K>['params']> & Part<'query', Operation<K>['query']> & Part<'headers', NonNullable<Operation<K>['headers']>> & ([Body<K>] extends [never] ? {
923
+ type Body<K extends AdvertiserOperationId> = Operation$1<K>['request'] | ((typeof advertiserRoutes)[K]['contentType'] extends 'multipart/form-data' ? FormData : never);
924
+ type AdvertiserRequest<K extends AdvertiserOperationId> = Part<'params', Operation$1<K>['params']> & Part<'query', Operation$1<K>['query']> & Part<'headers', NonNullable<Operation$1<K>['headers']>> & ([Body<K>] extends [never] ? {
925
925
  body?: never;
926
- } : NonNullable<Operation<K>['requestRequired']> extends true ? {
926
+ } : NonNullable<Operation$1<K>['requestRequired']> extends true ? {
927
927
  body: Body<K>;
928
928
  } : {
929
929
  body?: Body<K>;
930
930
  });
931
- type AdvertiserResponse<K extends AdvertiserOperationId> = Operation<K>['response'];
931
+ type AdvertiserResponse<K extends AdvertiserOperationId> = Operation$1<K>['response'];
932
932
  /** Typed access to the existing native advertiser and user HTTP routes. */
933
933
  declare class AdvertiserClient {
934
934
  private readonly http;
@@ -1190,6 +1190,25 @@ declare const Webhooks: {
1190
1190
  * fails the PR when they differ, and the publish lane's tests (publish-api-client.yml)
1191
1191
  * refuse the release.
1192
1192
  */
1193
- declare const VERSION = "3.4.13";
1193
+ declare const VERSION = "3.5.1";
1194
1194
 
1195
- export { ADCP_WEBHOOK_SIGNING_TAG, ADVERTISER_BUYING_RESOURCE, type AdcpJwk, AdvertiserBuyingClient, type AdvertiserBuyingOptions, AdvertiserClient, type AdvertiserOperationId, AdvertiserOperations, type AdvertiserOptions, type AdvertiserRequest, type AdvertiserResponse, AnalyticsClient, AnalyticsData, type ApiErrorType, AudienceClient, AudienceData, BillingClient, BillingInfo, type BillingOperationOptions, type BuyerWriteOptions, type ClientOptions, type ConstructEventOptions, type ContentFitMode, CreatePartnerSensingRouteRequest, CreativeExperimentsClient, DataClient, type DataStreamEvent, Device, DevicesClient, DisplaySettingsInput, DisplaySettingsResponse, EarningsClient, EarningsData, type ErrorDetail, ErrorEntry, type ErrorResponseBody, ErrorsClient, FleetClient, FleetCommand, Impression, ImpressionsClient, type ListResponse, McpToolError, Mcp_create_media_buy_Args, Mcp_discover_inventory_Args, Mcp_get_media_buy_delivery_Args, Mcp_get_media_buys_Args, Mcp_get_products_Args, Mcp_list_accounts_Args, Mcp_sync_accounts_Args, Mcp_sync_creatives_Args, Mcp_update_media_buy_Args, type MediaAccountsResponse, type MediaAccountsSyncResponse, type MediaBuy, type MediaBuyUpdateResponse, MediaBuysClient, type MediaBuysResponse, type MediaCreativeSyncResponse, type MediaDeliveryResponse, type MediaFunding, type MediaNativeError, type MediaPackage, type MediaPagination, type MediaProduct, type MediaProductsResponse, type ParsedSignatureHeader, PartnerDeviceBatchRegistrationInput, PartnerDeviceRegistrationInput, ReactiveClient, type RequestOptions, type RetryOptions, type RouteAction, type RouteChannel, type RouteCondition, type RouteConditionOp, type RouteDigest, type RouteDigestSummary, type RouteWebhookEvent, RoutesClient, Screen, ScreensClient, SensingRoute, type SensingThresholdCrossedEvent, type StreamOptions, TrillboardsClient, TrillboardsError, type TrillboardsErrorOptions, UpdatePartnerSensingRouteRequest, VERSION, type VerifyAdcpWebhookOptions, Webhook, WebhookEvent, type WebhookHeaders, Webhooks, WebhooksClient, advertiserRoutes, constructEvent, constructEventLegacy, createCreditCheckoutOperation, dataApiListScreensOperation, dataApiQueryDslOperation, dataApiScreenAudienceHistoryOperation, dataApiScreenAudienceLiveOperation, dataApiStreamOperation, getBillingUsageSummaryOperation, parseSignatureHeader, purchaseCreditsOperation, retryWithBackoff, setupBillingOperation, verifyAdcpWebhook };
1195
+ interface DspClientOptions {
1196
+ /** The existing platform API key linked to the DSP seat. Omit only for onboarding. */
1197
+ apiKey?: string;
1198
+ baseUrl?: string;
1199
+ version?: string;
1200
+ }
1201
+ type Operation = keyof DspOperations;
1202
+ type DspInput<K extends Operation> = {
1203
+ params?: DspOperations[K]['params'];
1204
+ query?: DspOperations[K]['query'];
1205
+ body?: DspOperations[K]['request'];
1206
+ };
1207
+ /** Typed transport over the mounted DSP operations; native owners handle each action. */
1208
+ declare class DspClient {
1209
+ private readonly http;
1210
+ constructor(options?: DspClientOptions);
1211
+ execute<K extends Operation>(operation: K, input?: DspInput<K>): Promise<DspOperations[K]['response']>;
1212
+ }
1213
+
1214
+ export { ADCP_WEBHOOK_SIGNING_TAG, ADVERTISER_BUYING_RESOURCE, type AdcpJwk, AdvertiserBuyingClient, type AdvertiserBuyingOptions, AdvertiserClient, type AdvertiserOperationId, AdvertiserOperations, type AdvertiserOptions, type AdvertiserRequest, type AdvertiserResponse, AnalyticsClient, AnalyticsData, type ApiErrorType, AudienceClient, AudienceData, BillingClient, BillingInfo, type BillingOperationOptions, type BuyerWriteOptions, type ClientOptions, type ConstructEventOptions, type ContentFitMode, CreatePartnerSensingRouteRequest, CreativeExperimentsClient, DataClient, type DataStreamEvent, Device, DevicesClient, DisplaySettingsInput, DisplaySettingsResponse, DspClient, type DspClientOptions, type DspInput, DspOperations, EarningsClient, EarningsData, type ErrorDetail, ErrorEntry, type ErrorResponseBody, ErrorsClient, FleetClient, FleetCommand, Impression, ImpressionsClient, type ListResponse, McpToolError, Mcp_create_media_buy_Args, Mcp_discover_inventory_Args, Mcp_get_media_buy_delivery_Args, Mcp_get_media_buys_Args, Mcp_get_products_Args, Mcp_list_accounts_Args, Mcp_sync_accounts_Args, Mcp_sync_creatives_Args, Mcp_update_media_buy_Args, type MediaAccountsResponse, type MediaAccountsSyncResponse, type MediaBuy, type MediaBuyUpdateResponse, MediaBuysClient, type MediaBuysResponse, type MediaCreativeSyncResponse, type MediaDeliveryResponse, type MediaFunding, type MediaNativeError, type MediaPackage, type MediaPagination, type MediaProduct, type MediaProductsResponse, type ParsedSignatureHeader, PartnerDeviceBatchRegistrationInput, PartnerDeviceRegistrationInput, ReactiveClient, type RequestOptions, type RetryOptions, type RouteAction, type RouteChannel, type RouteCondition, type RouteConditionOp, type RouteDigest, type RouteDigestSummary, type RouteWebhookEvent, RoutesClient, Screen, ScreensClient, SensingRoute, type SensingThresholdCrossedEvent, type StreamOptions, TrillboardsClient, TrillboardsError, type TrillboardsErrorOptions, UpdatePartnerSensingRouteRequest, VERSION, type VerifyAdcpWebhookOptions, Webhook, WebhookEvent, type WebhookHeaders, Webhooks, WebhooksClient, advertiserRoutes, constructEvent, constructEventLegacy, createCreditCheckoutOperation, dataApiListScreensOperation, dataApiQueryDslOperation, dataApiScreenAudienceHistoryOperation, dataApiScreenAudienceLiveOperation, dataApiStreamOperation, getBillingUsageSummaryOperation, parseSignatureHeader, purchaseCreditsOperation, retryWithBackoff, setupBillingOperation, verifyAdcpWebhook };