@apostra/sdk 0.37.0 → 0.38.0

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,5 +1,6 @@
1
1
  import type * as Wire from './types.gen.js';
2
2
  import { Transport, type RequestOptions, type ResponseDetails, type WriteRequestOptions } from '../transport.js';
3
+ type OptionalWireField<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> & Partial<Pick<T, Extract<K, keyof T>>> : never;
3
4
  export type DownloadV3PublicDocumentRevisionInput = {
4
5
  "documentId": NonNullable<Wire.DownloadV3PublicDocumentRevisionData['path']>["documentId"];
5
6
  "revisionId": NonNullable<Wire.DownloadV3PublicDocumentRevisionData['path']>["revisionId"];
@@ -84,10 +85,10 @@ export type OpenVariantGalleryError = Wire.OpenVariantGalleryErrors[keyof Wire.O
84
85
  export type RefreshInventorySourceHealthInput = Wire.RefreshInventorySourceHealthData['body'];
85
86
  export type RefreshInventorySourceHealthResult = Wire.RefreshInventorySourceHealthResponses[200]['data'];
86
87
  export type RefreshInventorySourceHealthError = Wire.RefreshInventorySourceHealthErrors[keyof Wire.RefreshInventorySourceHealthErrors];
87
- export type RequestBuyerChildAccountInput = Omit<Wire.RequestBuyerChildAccountData['body'], "idempotencyKey"> & Partial<Pick<Wire.RequestBuyerChildAccountData['body'], "idempotencyKey">>;
88
+ export type RequestBuyerChildAccountInput = OptionalWireField<Wire.RequestBuyerChildAccountData['body'], "idempotencyKey">;
88
89
  export type RequestBuyerChildAccountResult = Wire.RequestBuyerChildAccountResponses[200]['data'];
89
90
  export type RequestBuyerChildAccountError = Wire.RequestBuyerChildAccountErrors[keyof Wire.RequestBuyerChildAccountErrors];
90
- export type RequestProposalsInput = Omit<Wire.RequestProposalsData['body'], "idempotencyKey"> & Partial<Pick<Wire.RequestProposalsData['body'], "idempotencyKey">>;
91
+ export type RequestProposalsInput = OptionalWireField<Wire.RequestProposalsData['body'], "idempotencyKey">;
91
92
  export type RequestProposalsResult = Wire.RequestProposalsResponses[200]['data'];
92
93
  export type RequestProposalsError = Wire.RequestProposalsErrors[keyof Wire.RequestProposalsErrors];
93
94
  export type RequestSellerReportingUpdateInput = Wire.RequestSellerReportingUpdateData['body'];
@@ -102,6 +103,9 @@ export type SaveAccountError = Wire.SaveAccountErrors[keyof Wire.SaveAccountErro
102
103
  export type SaveAdvertiserInput = Wire.SaveAdvertiserData['body'];
103
104
  export type SaveAdvertiserResult = Wire.SaveAdvertiserResponses[200]['data'];
104
105
  export type SaveAdvertiserError = Wire.SaveAdvertiserErrors[keyof Wire.SaveAdvertiserErrors];
106
+ export type SaveAdvertiserAccessInput = Wire.SaveAdvertiserAccessData['body'];
107
+ export type SaveAdvertiserAccessResult = Wire.SaveAdvertiserAccessResponses[200]['data'];
108
+ export type SaveAdvertiserAccessError = Wire.SaveAdvertiserAccessErrors[keyof Wire.SaveAdvertiserAccessErrors];
105
109
  export type SaveAdvertiserGrantInput = Wire.SaveAdvertiserGrantData['body'];
106
110
  export type SaveAdvertiserGrantResult = Wire.SaveAdvertiserGrantResponses[200]['data'];
107
111
  export type SaveAdvertiserGrantError = Wire.SaveAdvertiserGrantErrors[keyof Wire.SaveAdvertiserGrantErrors];
@@ -129,10 +133,10 @@ export type SaveBuyerAgentError = Wire.SaveBuyerAgentErrors[keyof Wire.SaveBuyer
129
133
  export type SaveBuyerOperatorInput = Wire.SaveBuyerOperatorData['body'];
130
134
  export type SaveBuyerOperatorResult = Wire.SaveBuyerOperatorResponses[200]['data'];
131
135
  export type SaveBuyerOperatorError = Wire.SaveBuyerOperatorErrors[keyof Wire.SaveBuyerOperatorErrors];
132
- export type SaveCampaignInput = Omit<Wire.SaveCampaignData['body'], "idempotencyKey"> & Partial<Pick<Wire.SaveCampaignData['body'], "idempotencyKey">>;
136
+ export type SaveCampaignInput = OptionalWireField<Wire.SaveCampaignData['body'], "idempotencyKey">;
133
137
  export type SaveCampaignResult = Wire.SaveCampaignResponses[200]['data'];
134
138
  export type SaveCampaignError = Wire.SaveCampaignErrors[keyof Wire.SaveCampaignErrors];
135
- export type SaveCatalogInput = Omit<Wire.SaveCatalogData['body'], "idempotencyKey"> & Partial<Pick<Wire.SaveCatalogData['body'], "idempotencyKey">>;
139
+ export type SaveCatalogInput = OptionalWireField<Wire.SaveCatalogData['body'], "idempotencyKey">;
136
140
  export type SaveCatalogResult = Wire.SaveCatalogResponses[200]['data'];
137
141
  export type SaveCatalogError = Wire.SaveCatalogErrors[keyof Wire.SaveCatalogErrors];
138
142
  export type SaveConnectionInput = Wire.SaveConnectionData['body'];
@@ -150,25 +154,28 @@ export type SaveCreativeCollectionError = Wire.SaveCreativeCollectionErrors[keyo
150
154
  export type SaveCreativeSessionInput = Wire.SaveCreativeSessionData['body'];
151
155
  export type SaveCreativeSessionResult = Wire.SaveCreativeSessionResponses[200]['data'];
152
156
  export type SaveCreativeSessionError = Wire.SaveCreativeSessionErrors[keyof Wire.SaveCreativeSessionErrors];
153
- export type SaveDimensionInput = Wire.SaveDimensionData['body'];
157
+ export type SaveDimensionInput = OptionalWireField<Wire.SaveDimensionData['body'], "idempotencyKey">;
154
158
  export type SaveDimensionResult = Wire.SaveDimensionResponses[200]['data'];
155
159
  export type SaveDimensionError = Wire.SaveDimensionErrors[keyof Wire.SaveDimensionErrors];
156
160
  export type SaveDirectedCampaignSubscriptionInput = Wire.SaveDirectedCampaignSubscriptionData['body'];
157
161
  export type SaveDirectedCampaignSubscriptionResult = Wire.SaveDirectedCampaignSubscriptionResponses[200]['data'];
158
162
  export type SaveDirectedCampaignSubscriptionError = Wire.SaveDirectedCampaignSubscriptionErrors[keyof Wire.SaveDirectedCampaignSubscriptionErrors];
159
- export type SaveEventSourceInput = Omit<Wire.SaveEventSourceData['body'], "idempotencyKey"> & Partial<Pick<Wire.SaveEventSourceData['body'], "idempotencyKey">>;
163
+ export type SaveEventSourceInput = OptionalWireField<Wire.SaveEventSourceData['body'], "idempotencyKey">;
160
164
  export type SaveEventSourceResult = Wire.SaveEventSourceResponses[200]['data'];
161
165
  export type SaveEventSourceError = Wire.SaveEventSourceErrors[keyof Wire.SaveEventSourceErrors];
162
166
  export type SaveInventorySourceInput = Wire.SaveInventorySourceData['body'];
163
167
  export type SaveInventorySourceResult = Wire.SaveInventorySourceResponses[200]['data'];
164
168
  export type SaveInventorySourceError = Wire.SaveInventorySourceErrors[keyof Wire.SaveInventorySourceErrors];
169
+ export type SaveLessonInput = Wire.SaveLessonData['body'];
170
+ export type SaveLessonResult = Wire.SaveLessonResponses[200]['data'];
171
+ export type SaveLessonError = Wire.SaveLessonErrors[keyof Wire.SaveLessonErrors];
165
172
  export type SaveLibraryRequestInput = Wire.SaveLibraryRequestData['body'];
166
173
  export type SaveLibraryRequestResult = Wire.SaveLibraryRequestResponses[200]['data'];
167
174
  export type SaveLibraryRequestError = Wire.SaveLibraryRequestErrors[keyof Wire.SaveLibraryRequestErrors];
168
175
  export type SaveMaterialInput = Wire.SaveMaterialData['body'];
169
176
  export type SaveMaterialResult = Wire.SaveMaterialResponses[200]['data'];
170
177
  export type SaveMaterialError = Wire.SaveMaterialErrors[keyof Wire.SaveMaterialErrors];
171
- export type SaveMediaBuyInput = Omit<Wire.SaveMediaBuyData['body'], "idempotencyKey"> & Partial<Pick<Wire.SaveMediaBuyData['body'], "idempotencyKey">>;
178
+ export type SaveMediaBuyInput = OptionalWireField<Wire.SaveMediaBuyData['body'], "idempotencyKey">;
172
179
  export type SaveMediaBuyResult = Wire.SaveMediaBuyResponses[200]['data'];
173
180
  export type SaveMediaBuyError = Wire.SaveMediaBuyErrors[keyof Wire.SaveMediaBuyErrors];
174
181
  export type SaveMediaKitInput = Wire.SaveMediaKitData['body'];
@@ -328,6 +335,10 @@ export interface OperationTypes {
328
335
  input: SaveAdvertiserInput;
329
336
  result: SaveAdvertiserResult;
330
337
  };
338
+ "save_advertiser_access": {
339
+ input: SaveAdvertiserAccessInput;
340
+ result: SaveAdvertiserAccessResult;
341
+ };
331
342
  "save_advertiser_grant": {
332
343
  input: SaveAdvertiserGrantInput;
333
344
  result: SaveAdvertiserGrantResult;
@@ -408,6 +419,10 @@ export interface OperationTypes {
408
419
  input: SaveInventorySourceInput;
409
420
  result: SaveInventorySourceResult;
410
421
  };
422
+ "save_lesson": {
423
+ input: SaveLessonInput;
424
+ result: SaveLessonResult;
425
+ };
411
426
  "save_library_request": {
412
427
  input: SaveLibraryRequestInput;
413
428
  result: SaveLibraryRequestResult;
@@ -480,22 +495,22 @@ export declare class Apostra extends Transport {
480
495
  /** Download a public immutable document revision Returns the data together with response headers and request ID. */
481
496
  downloadV3PublicDocumentRevisionWithResponse(input: DownloadV3PublicDocumentRevisionInput, options?: RequestOptions): Promise<ResponseDetails<DownloadV3PublicDocumentRevisionResult>>;
482
497
  /**
483
- * Generate or refine new image, hosted video, or voice/audio (radio spots, voiceovers) from a saved Creative Engines brief. Reuse actionKey for an identical retry.
498
+ * Generate variants from a saved brief; use Creative Sessions for voice/audio, radio spots, and voiceovers. Send kind, scope, and variantAction; reuse actionKey only on retries.
484
499
  *
485
500
  * @example
486
501
  * await client.generateVariants(input, { idempotencyKey: 'stable-key' })
487
502
  */
488
503
  generateVariants(input: GenerateVariantsInput, options: WriteRequestOptions): Promise<GenerateVariantsResult>;
489
- /** Generate or refine new image, hosted video, or voice/audio (radio spots, voiceovers) from a saved Creative Engines brief. Reuse actionKey for an identical retry. Returns the data together with response headers and request ID. */
504
+ /** Generate variants from a saved brief; use Creative Sessions for voice/audio, radio spots, and voiceovers. Send kind, scope, and variantAction; reuse actionKey only on retries. Returns the data together with response headers and request ID. */
490
505
  generateVariantsWithResponse(input: GenerateVariantsInput, options: WriteRequestOptions): Promise<ResponseDetails<GenerateVariantsResult>>;
491
506
  /**
492
- * Read one object by kind plus the id that search returned, or an account singleton with no id. Never guess an id. include adds detail; each include value works only for the kinds that serve it.
507
+ * Read one object by kind and id, or an account singleton without id. Never guess ids. Campaign reads return targetingOverlay to verify before proposals. include adds detail only for kinds that serve it.
493
508
  *
494
509
  * @example
495
510
  * await client.get(input)
496
511
  */
497
512
  get(input: GetInput, options?: RequestOptions): Promise<GetResult>;
498
- /** Read one object by kind plus the id that search returned, or an account singleton with no id. Never guess an id. include adds detail; each include value works only for the kinds that serve it. Returns the data together with response headers and request ID. */
513
+ /** Read one object by kind and id, or an account singleton without id. Never guess ids. Campaign reads return targetingOverlay to verify before proposals. include adds detail only for kinds that serve it. Returns the data together with response headers and request ID. */
499
514
  getWithResponse(input: GetInput, options?: RequestOptions): Promise<ResponseDetails<GetResult>>;
500
515
  /**
501
516
  * Read a bounded public immutable document revision
@@ -732,14 +747,23 @@ export declare class Apostra extends Transport {
732
747
  /** Rename an existing direct child Account or update settings.company. Never provisions, archives, or changes owners or members; use Account settings for access changes. Returns the data together with response headers and request ID. */
733
748
  saveAccountWithResponse(input: SaveAccountInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveAccountResult>>;
734
749
  /**
735
- * Save an advertiser or its mappings. Confirm markets/channels with the buyer first (see footprintProposal). `needs_input` = ask the buyer; never recreate to change currency. Use identityContract:confirmed-v1 for brand fixes. resolveBrand looks up public branding. Guide: /v2/setup/v3/identity-setup.
750
+ * Save an advertiser or mappings. Buyer privateNotes: owning Buyer Account only; /v3/manage-ads#private-advertiser-notes. Confirm markets/channels (footprintProposal); needs_input=ask; never recreate for currency. Brand: identityContract:confirmed-v1; preview: resolveBrand; read advertiser.brandRef.
736
751
  *
737
752
  * @example
738
753
  * await client.saveAdvertiser(input, { idempotencyKey: 'stable-key' })
739
754
  */
740
755
  saveAdvertiser(input: SaveAdvertiserInput, options: WriteRequestOptions): Promise<SaveAdvertiserResult>;
741
- /** Save an advertiser or its mappings. Confirm markets/channels with the buyer first (see footprintProposal). `needs_input` = ask the buyer; never recreate to change currency. Use identityContract:confirmed-v1 for brand fixes. resolveBrand looks up public branding. Guide: /v2/setup/v3/identity-setup. Returns the data together with response headers and request ID. */
756
+ /** Save an advertiser or mappings. Buyer privateNotes: owning Buyer Account only; /v3/manage-ads#private-advertiser-notes. Confirm markets/channels (footprintProposal); needs_input=ask; never recreate for currency. Brand: identityContract:confirmed-v1; preview: resolveBrand; read advertiser.brandRef. Returns the data together with response headers and request ID. */
742
757
  saveAdvertiserWithResponse(input: SaveAdvertiserInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveAdvertiserResult>>;
758
+ /**
759
+ * Invite a client to one of your advertisers, approve, suspend, reactivate, or revoke a client, or change a client's role. Read get kind advertiser_access first and use only what it offers. Needs an organization administrator signed in directly.
760
+ *
761
+ * @example
762
+ * await client.saveAdvertiserAccess(input, { idempotencyKey: 'stable-key' })
763
+ */
764
+ saveAdvertiserAccess(input: SaveAdvertiserAccessInput, options: WriteRequestOptions): Promise<SaveAdvertiserAccessResult>;
765
+ /** Invite a client to one of your advertisers, approve, suspend, reactivate, or revoke a client, or change a client's role. Read get kind advertiser_access first and use only what it offers. Needs an organization administrator signed in directly. Returns the data together with response headers and request ID. */
766
+ saveAdvertiserAccessWithResponse(input: SaveAdvertiserAccessInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveAdvertiserAccessResult>>;
743
767
  /**
744
768
  * Invite another Organization to exact advertisers, accept/reject an invitation, or revoke a grant. Limited beta: eligible Organization, entitlement, server-side exposure, and direct human-admin authority are required.
745
769
  *
@@ -750,22 +774,22 @@ export declare class Apostra extends Transport {
750
774
  /** Invite another Organization to exact advertisers, accept/reject an invitation, or revoke a grant. Limited beta: eligible Organization, entitlement, server-side exposure, and direct human-admin authority are required. Returns the data together with response headers and request ID. */
751
775
  saveAdvertiserGrantWithResponse(input: SaveAdvertiserGrantInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveAdvertiserGrantResult>>;
752
776
  /**
753
- * Save seller notes and instructions for an exact brand-domain × operator-domain pair. Configuration does not verify the registry; discounts, source routing, sponsored access, and buyer-account trust are read-only.
777
+ * Seller-only CRM notes for an exact brand × operator pair. Buyers use save_advertiser.privateNotes; see /v3/manage-ads#private-advertiser-notes. Effective discounts, routing, access and trust are read-only.
754
778
  *
755
779
  * @example
756
780
  * await client.saveAdvertiserInstructions(input, { idempotencyKey: 'stable-key' })
757
781
  */
758
782
  saveAdvertiserInstructions(input: SaveAdvertiserInstructionsInput, options: WriteRequestOptions): Promise<SaveAdvertiserInstructionsResult>;
759
- /** Save seller notes and instructions for an exact brand-domain × operator-domain pair. Configuration does not verify the registry; discounts, source routing, sponsored access, and buyer-account trust are read-only. Returns the data together with response headers and request ID. */
783
+ /** Seller-only CRM notes for an exact brand × operator pair. Buyers use save_advertiser.privateNotes; see /v3/manage-ads#private-advertiser-notes. Effective discounts, routing, access and trust are read-only. Returns the data together with response headers and request ID. */
760
784
  saveAdvertiserInstructionsWithResponse(input: SaveAdvertiserInstructionsInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveAdvertiserInstructionsResult>>;
761
785
  /**
762
- * In a Developer account, register a Sales or Creative Agent, or rename an owned Agent. A registration requires an account administrator and an idempotency key. In a Seller account, confirm or correct one Sales Agent product mode.
786
+ * Save a Sales Agent mode, register an Agent, or update an owned Agent: rename it or say it is ready for certification. Select seller_save, developer_create, or developer_update.
763
787
  *
764
788
  * @example
765
789
  * await client.saveAgent(input, { idempotencyKey: 'stable-key' })
766
790
  */
767
791
  saveAgent(input: SaveAgentInput, options: WriteRequestOptions): Promise<SaveAgentResult>;
768
- /** In a Developer account, register a Sales or Creative Agent, or rename an owned Agent. A registration requires an account administrator and an idempotency key. In a Seller account, confirm or correct one Sales Agent product mode. Returns the data together with response headers and request ID. */
792
+ /** Save a Sales Agent mode, register an Agent, or update an owned Agent: rename it or say it is ready for certification. Select seller_save, developer_create, or developer_update. Returns the data together with response headers and request ID. */
769
793
  saveAgentWithResponse(input: SaveAgentInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveAgentResult>>;
770
794
  /**
771
795
  * File or update a typed ask in the Apostra Support workflow; returns askId. Supply is buyer inventory. Call immediately with type support when a person explicitly asks for a human; do not diagnose first.
@@ -804,13 +828,13 @@ export declare class Apostra extends Transport {
804
828
  /** Write seller AI Business Rules. Policy content needs an account admin and both policy fields. Approval auto needs acknowledgeNoHumanReview. Returns the data together with response headers and request ID. */
805
829
  saveBusinessRulesWithResponse(input: SaveBusinessRulesInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveBusinessRulesResult>>;
806
830
  /**
807
- * Create, rename, reconcile access, change lifecycle, or prepare a human credential handoff for one buyer agent per call.
831
+ * Create or manage one buyer agent.
808
832
  *
809
833
  * @example
810
834
  * await client.saveBuyerAgent(input, { idempotencyKey: 'stable-key' })
811
835
  */
812
836
  saveBuyerAgent(input: SaveBuyerAgentInput, options: WriteRequestOptions): Promise<SaveBuyerAgentResult>;
813
- /** Create, rename, reconcile access, change lifecycle, or prepare a human credential handoff for one buyer agent per call. Returns the data together with response headers and request ID. */
837
+ /** Create or manage one buyer agent. Returns the data together with response headers and request ID. */
814
838
  saveBuyerAgentWithResponse(input: SaveBuyerAgentInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveBuyerAgentResult>>;
815
839
  /**
816
840
  * Save buyer commercial identity. Read get_status; use identityContract:confirmed-v1 for preview and confirmation. Guide: /v2/setup/v3/identity-setup.
@@ -822,22 +846,22 @@ export declare class Apostra extends Transport {
822
846
  /** Save buyer commercial identity. Read get_status; use identityContract:confirmed-v1 for preview and confirmation. Guide: /v2/setup/v3/identity-setup. Returns the data together with response headers and request ID. */
823
847
  saveBuyerOperatorWithResponse(input: SaveBuyerOperatorInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveBuyerOperatorResult>>;
824
848
  /**
825
- * Save a campaign. Create needs advertiserId and name; flight and budget are optional. Split inventory choices into separate media buys; presets expand dimensions. To launch, set desiredPhase: active with confirmLaunch: true; omit confirmation to preview. Cancellation never cancels media buys.
849
+ * Save a campaign. To create, send advertiserId and name; flight and budget are optional. Split inventory into media buys. Set desiredPhase: active to launch; omit confirmLaunch to preview. Cancellation is irreversible: desiredPhase: canceled cancels the campaign and every live media buy.
826
850
  *
827
851
  * @example
828
852
  * await client.saveCampaign(input, { idempotencyKey: 'stable-key' })
829
853
  */
830
854
  saveCampaign(input: SaveCampaignInput, options: WriteRequestOptions): Promise<SaveCampaignResult>;
831
- /** Save a campaign. Create needs advertiserId and name; flight and budget are optional. Split inventory choices into separate media buys; presets expand dimensions. To launch, set desiredPhase: active with confirmLaunch: true; omit confirmation to preview. Cancellation never cancels media buys. Returns the data together with response headers and request ID. */
855
+ /** Save a campaign. To create, send advertiserId and name; flight and budget are optional. Split inventory into media buys. Set desiredPhase: active to launch; omit confirmLaunch to preview. Cancellation is irreversible: desiredPhase: canceled cancels the campaign and every live media buy. Returns the data together with response headers and request ID. */
832
856
  saveCampaignWithResponse(input: SaveCampaignInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveCampaignResult>>;
833
857
  /**
834
- * Create or replace one flat catalog declaration by catalogId, or archive it with isArchived. URL saves refetch the feed.
858
+ * Create or replace a catalog: type and exactly one of url (feed URL) or non-empty items are required. If missing, ask the buyer for the feed URL or items before calling. URL saves refetch the feed. To archive, set isArchived: true with identity only; type, url and items are not needed.
835
859
  *
836
860
  * @example
837
861
  * await client.saveCatalog(input, { idempotencyKey: 'stable-key' })
838
862
  */
839
863
  saveCatalog(input: SaveCatalogInput, options: WriteRequestOptions): Promise<SaveCatalogResult>;
840
- /** Create or replace one flat catalog declaration by catalogId, or archive it with isArchived. URL saves refetch the feed. Returns the data together with response headers and request ID. */
864
+ /** Create or replace a catalog: type and exactly one of url (feed URL) or non-empty items are required. If missing, ask the buyer for the feed URL or items before calling. URL saves refetch the feed. To archive, set isArchived: true with identity only; type, url and items are not needed. Returns the data together with response headers and request ID. */
841
865
  saveCatalogWithResponse(input: SaveCatalogInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveCatalogResult>>;
842
866
  /**
843
867
  * Manage seller or creative-engine authorization, accounts and advertiser mappings. Seller-only: reporting, selection, billing, policy, activation.
@@ -894,13 +918,13 @@ export declare class Apostra extends Transport {
894
918
  /** Create a dimension, or update an existing dimension by its id. Tags is built in and open. Labels belong only to objects in appliesTo. Returns the data together with response headers and request ID. */
895
919
  saveDimensionWithResponse(input: SaveDimensionInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveDimensionResult>>;
896
920
  /**
897
- * Subscribe to a connected seller's directed campaigns, mirroring its media buys into this buyer's view. Set `unsubscribe: true` to remove the subscription and retire mirrored campaigns. Requires a mapped seller account and reachable advertiser.
921
+ * Import native campaigns from Spotify Ads Manager or other platforms, including future-start campaigns, as read-only mirrors. Confirm ongoing sync first. No provider changes. /v3/import-existing-campaigns.
898
922
  *
899
923
  * @example
900
924
  * await client.saveDirectedCampaignSubscription(input, { idempotencyKey: 'stable-key' })
901
925
  */
902
926
  saveDirectedCampaignSubscription(input: SaveDirectedCampaignSubscriptionInput, options: WriteRequestOptions): Promise<SaveDirectedCampaignSubscriptionResult>;
903
- /** Subscribe to a connected seller's directed campaigns, mirroring its media buys into this buyer's view. Set `unsubscribe: true` to remove the subscription and retire mirrored campaigns. Requires a mapped seller account and reachable advertiser. Returns the data together with response headers and request ID. */
927
+ /** Import native campaigns from Spotify Ads Manager or other platforms, including future-start campaigns, as read-only mirrors. Confirm ongoing sync first. No provider changes. /v3/import-existing-campaigns. Returns the data together with response headers and request ID. */
904
928
  saveDirectedCampaignSubscriptionWithResponse(input: SaveDirectedCampaignSubscriptionInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveDirectedCampaignSubscriptionResult>>;
905
929
  /**
906
930
  * Create, change, archive, or restore up to 50 advertiser conversion event sources (pixels, server feeds). Each entry is keyed by eventSourceId and succeeds or fails alone. Setup is not proof events flow: check health with get, then use eventSourceId in an optimization goal.
@@ -920,6 +944,15 @@ export declare class Apostra extends Transport {
920
944
  saveInventorySource(input: SaveInventorySourceInput, options: WriteRequestOptions): Promise<SaveInventorySourceResult>;
921
945
  /** Create or update where a seller's inventory comes from. Pass `id` to change an existing source, omit it to add one. Credentials are never passed here — a source that needs a secret comes back with the state and the page that collects it. Returns the data together with response headers and request ID. */
922
946
  saveInventorySourceWithResponse(input: SaveInventorySourceInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveInventorySourceResult>>;
947
+ /**
948
+ * Manage seller lessons. propose requires lesson; approve and retire require lessonId; preview requires lessonId and brief. Preserve seller words from a private Session note and ask if kind or scope is unclear.
949
+ *
950
+ * @example
951
+ * await client.saveLesson(input, { idempotencyKey: 'stable-key' })
952
+ */
953
+ saveLesson(input: SaveLessonInput, options: WriteRequestOptions): Promise<SaveLessonResult>;
954
+ /** Manage seller lessons. propose requires lesson; approve and retire require lessonId; preview requires lessonId and brief. Preserve seller words from a private Session note and ask if kind or scope is unclear. Returns the data together with response headers and request ID. */
955
+ saveLessonWithResponse(input: SaveLessonInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveLessonResult>>;
923
956
  /**
924
957
  * Open a seller library request or close it with seller Material.
925
958
  *
@@ -957,13 +990,13 @@ export declare class Apostra extends Transport {
957
990
  /** Deprecated compatibility tool ("listing" is the modern term). It writes only the legacy businessProfile and does not update the canonical buyer-visible listing. New clients must read with `get({ kind: "seller", include: ["listing"] })` and write with `save_seller`. Returns the data together with response headers and request ID. */
958
991
  saveMediaKitWithResponse(input: SaveMediaKitInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveMediaKitResult>>;
959
992
  /**
960
- * Create or update a notification subscription: scope, content, routes; no trigger type is creatable yet, no delivery policy yet. Omit subscriptionId to create, supply it to patch. Managed subscriptions are editable only within their mutability. Credentials belong to save_integration.
993
+ * Create or update a notification subscription. Omit subscriptionId to create; managed subscriptions permit only mutable fields. Use save_integration for credentials when needed.
961
994
  *
962
995
  * @example
963
996
  * await client.saveNotificationConfig(input, { idempotencyKey: 'stable-key' })
964
997
  */
965
998
  saveNotificationConfig(input: SaveNotificationConfigInput, options: WriteRequestOptions): Promise<SaveNotificationConfigResult>;
966
- /** Create or update a notification subscription: scope, content, routes; no trigger type is creatable yet, no delivery policy yet. Omit subscriptionId to create, supply it to patch. Managed subscriptions are editable only within their mutability. Credentials belong to save_integration. Returns the data together with response headers and request ID. */
999
+ /** Create or update a notification subscription. Omit subscriptionId to create; managed subscriptions permit only mutable fields. Use save_integration for credentials when needed. Returns the data together with response headers and request ID. */
967
1000
  saveNotificationConfigWithResponse(input: SaveNotificationConfigInput, options: WriteRequestOptions): Promise<ResponseDetails<SaveNotificationConfigResult>>;
968
1001
  /**
969
1002
  * Write how the seller sells. `active` creates and activates a new version in one step — no separate activate; the response names the version created and replaced. `pricing` replaces the whole fact list. `discounts` sets or removes brand/operator rules one by one. Halves never roll back each other.
@@ -975,13 +1008,13 @@ export declare class Apostra extends Transport {
975
1008
  /** Write how the seller sells. `active` creates and activates a new version in one step — no separate activate; the response names the version created and replaced. `pricing` replaces the whole fact list. `discounts` sets or removes brand/operator rules one by one. Halves never roll back each other. Returns the data together with response headers and request ID. */
976
1009
  savePlaybookWithResponse(input: SavePlaybookInput, options: WriteRequestOptions): Promise<ResponseDetails<SavePlaybookResult>>;
977
1010
  /**
978
- * Create, update, archive, or AAO-check an advertiser property list. Check uses identifiers without saving. Search/get read saved lists.
1011
+ * Create, update, archive, restore, or AAO-check an advertiser property list. Check uses identifiers without saving. Search/get read saved lists.
979
1012
  *
980
1013
  * @example
981
1014
  * await client.savePropertyList(input, { idempotencyKey: 'stable-key' })
982
1015
  */
983
1016
  savePropertyList(input: SavePropertyListInput, options: WriteRequestOptions): Promise<SavePropertyListResult>;
984
- /** Create, update, archive, or AAO-check an advertiser property list. Check uses identifiers without saving. Search/get read saved lists. Returns the data together with response headers and request ID. */
1017
+ /** Create, update, archive, restore, or AAO-check an advertiser property list. Check uses identifiers without saving. Search/get read saved lists. Returns the data together with response headers and request ID. */
985
1018
  savePropertyListWithResponse(input: SavePropertyListInput, options: WriteRequestOptions): Promise<ResponseDetails<SavePropertyListResult>>;
986
1019
  /**
987
1020
  * Save RFPs and turns: imported origins, typed feedback, response pairs, endorsement, and proposal-file requests.
@@ -1056,3 +1089,4 @@ export declare class Apostra extends Transport {
1056
1089
  /** Open the embedded Task for an advertiser. Returns accepted MIME types and exact byte limits by type. max_size_bytes is only the largest. Use fallback_url if the Task does not render. Uploading never creates or delivers a Creative. Returns the data together with response headers and request ID. */
1057
1090
  uploadCreativeAssetWithResponse(input: UploadCreativeAssetInput, options: WriteRequestOptions): Promise<ResponseDetails<UploadCreativeAssetResult>>;
1058
1091
  }
1092
+ export {};
@@ -10,22 +10,22 @@ export class Apostra extends Transport {
10
10
  /** Download a public immutable document revision Returns the data together with response headers and request ID. */
11
11
  downloadV3PublicDocumentRevisionWithResponse(input, options) { return this.requestDetailed("downloadV3PublicDocumentRevision", input, options); }
12
12
  /**
13
- * Generate or refine new image, hosted video, or voice/audio (radio spots, voiceovers) from a saved Creative Engines brief. Reuse actionKey for an identical retry.
13
+ * Generate variants from a saved brief; use Creative Sessions for voice/audio, radio spots, and voiceovers. Send kind, scope, and variantAction; reuse actionKey only on retries.
14
14
  *
15
15
  * @example
16
16
  * await client.generateVariants(input, { idempotencyKey: 'stable-key' })
17
17
  */
18
18
  generateVariants(input, options) { return this.request("generate_variants", input, options); }
19
- /** Generate or refine new image, hosted video, or voice/audio (radio spots, voiceovers) from a saved Creative Engines brief. Reuse actionKey for an identical retry. Returns the data together with response headers and request ID. */
19
+ /** Generate variants from a saved brief; use Creative Sessions for voice/audio, radio spots, and voiceovers. Send kind, scope, and variantAction; reuse actionKey only on retries. Returns the data together with response headers and request ID. */
20
20
  generateVariantsWithResponse(input, options) { return this.requestDetailed("generate_variants", input, options); }
21
21
  /**
22
- * Read one object by kind plus the id that search returned, or an account singleton with no id. Never guess an id. include adds detail; each include value works only for the kinds that serve it.
22
+ * Read one object by kind and id, or an account singleton without id. Never guess ids. Campaign reads return targetingOverlay to verify before proposals. include adds detail only for kinds that serve it.
23
23
  *
24
24
  * @example
25
25
  * await client.get(input)
26
26
  */
27
27
  get(input, options) { return this.request("get", input, options); }
28
- /** Read one object by kind plus the id that search returned, or an account singleton with no id. Never guess an id. include adds detail; each include value works only for the kinds that serve it. Returns the data together with response headers and request ID. */
28
+ /** Read one object by kind and id, or an account singleton without id. Never guess ids. Campaign reads return targetingOverlay to verify before proposals. include adds detail only for kinds that serve it. Returns the data together with response headers and request ID. */
29
29
  getWithResponse(input, options) { return this.requestDetailed("get", input, options); }
30
30
  /**
31
31
  * Read a bounded public immutable document revision
@@ -262,14 +262,23 @@ export class Apostra extends Transport {
262
262
  /** Rename an existing direct child Account or update settings.company. Never provisions, archives, or changes owners or members; use Account settings for access changes. Returns the data together with response headers and request ID. */
263
263
  saveAccountWithResponse(input, options) { return this.requestDetailed("save_account", input, options); }
264
264
  /**
265
- * Save an advertiser or its mappings. Confirm markets/channels with the buyer first (see footprintProposal). `needs_input` = ask the buyer; never recreate to change currency. Use identityContract:confirmed-v1 for brand fixes. resolveBrand looks up public branding. Guide: /v2/setup/v3/identity-setup.
265
+ * Save an advertiser or mappings. Buyer privateNotes: owning Buyer Account only; /v3/manage-ads#private-advertiser-notes. Confirm markets/channels (footprintProposal); needs_input=ask; never recreate for currency. Brand: identityContract:confirmed-v1; preview: resolveBrand; read advertiser.brandRef.
266
266
  *
267
267
  * @example
268
268
  * await client.saveAdvertiser(input, { idempotencyKey: 'stable-key' })
269
269
  */
270
270
  saveAdvertiser(input, options) { return this.request("save_advertiser", input, options); }
271
- /** Save an advertiser or its mappings. Confirm markets/channels with the buyer first (see footprintProposal). `needs_input` = ask the buyer; never recreate to change currency. Use identityContract:confirmed-v1 for brand fixes. resolveBrand looks up public branding. Guide: /v2/setup/v3/identity-setup. Returns the data together with response headers and request ID. */
271
+ /** Save an advertiser or mappings. Buyer privateNotes: owning Buyer Account only; /v3/manage-ads#private-advertiser-notes. Confirm markets/channels (footprintProposal); needs_input=ask; never recreate for currency. Brand: identityContract:confirmed-v1; preview: resolveBrand; read advertiser.brandRef. Returns the data together with response headers and request ID. */
272
272
  saveAdvertiserWithResponse(input, options) { return this.requestDetailed("save_advertiser", input, options); }
273
+ /**
274
+ * Invite a client to one of your advertisers, approve, suspend, reactivate, or revoke a client, or change a client's role. Read get kind advertiser_access first and use only what it offers. Needs an organization administrator signed in directly.
275
+ *
276
+ * @example
277
+ * await client.saveAdvertiserAccess(input, { idempotencyKey: 'stable-key' })
278
+ */
279
+ saveAdvertiserAccess(input, options) { return this.request("save_advertiser_access", input, options); }
280
+ /** Invite a client to one of your advertisers, approve, suspend, reactivate, or revoke a client, or change a client's role. Read get kind advertiser_access first and use only what it offers. Needs an organization administrator signed in directly. Returns the data together with response headers and request ID. */
281
+ saveAdvertiserAccessWithResponse(input, options) { return this.requestDetailed("save_advertiser_access", input, options); }
273
282
  /**
274
283
  * Invite another Organization to exact advertisers, accept/reject an invitation, or revoke a grant. Limited beta: eligible Organization, entitlement, server-side exposure, and direct human-admin authority are required.
275
284
  *
@@ -280,22 +289,22 @@ export class Apostra extends Transport {
280
289
  /** Invite another Organization to exact advertisers, accept/reject an invitation, or revoke a grant. Limited beta: eligible Organization, entitlement, server-side exposure, and direct human-admin authority are required. Returns the data together with response headers and request ID. */
281
290
  saveAdvertiserGrantWithResponse(input, options) { return this.requestDetailed("save_advertiser_grant", input, options); }
282
291
  /**
283
- * Save seller notes and instructions for an exact brand-domain × operator-domain pair. Configuration does not verify the registry; discounts, source routing, sponsored access, and buyer-account trust are read-only.
292
+ * Seller-only CRM notes for an exact brand × operator pair. Buyers use save_advertiser.privateNotes; see /v3/manage-ads#private-advertiser-notes. Effective discounts, routing, access and trust are read-only.
284
293
  *
285
294
  * @example
286
295
  * await client.saveAdvertiserInstructions(input, { idempotencyKey: 'stable-key' })
287
296
  */
288
297
  saveAdvertiserInstructions(input, options) { return this.request("save_advertiser_instructions", input, options); }
289
- /** Save seller notes and instructions for an exact brand-domain × operator-domain pair. Configuration does not verify the registry; discounts, source routing, sponsored access, and buyer-account trust are read-only. Returns the data together with response headers and request ID. */
298
+ /** Seller-only CRM notes for an exact brand × operator pair. Buyers use save_advertiser.privateNotes; see /v3/manage-ads#private-advertiser-notes. Effective discounts, routing, access and trust are read-only. Returns the data together with response headers and request ID. */
290
299
  saveAdvertiserInstructionsWithResponse(input, options) { return this.requestDetailed("save_advertiser_instructions", input, options); }
291
300
  /**
292
- * In a Developer account, register a Sales or Creative Agent, or rename an owned Agent. A registration requires an account administrator and an idempotency key. In a Seller account, confirm or correct one Sales Agent product mode.
301
+ * Save a Sales Agent mode, register an Agent, or update an owned Agent: rename it or say it is ready for certification. Select seller_save, developer_create, or developer_update.
293
302
  *
294
303
  * @example
295
304
  * await client.saveAgent(input, { idempotencyKey: 'stable-key' })
296
305
  */
297
306
  saveAgent(input, options) { return this.request("save_agent", input, options); }
298
- /** In a Developer account, register a Sales or Creative Agent, or rename an owned Agent. A registration requires an account administrator and an idempotency key. In a Seller account, confirm or correct one Sales Agent product mode. Returns the data together with response headers and request ID. */
307
+ /** Save a Sales Agent mode, register an Agent, or update an owned Agent: rename it or say it is ready for certification. Select seller_save, developer_create, or developer_update. Returns the data together with response headers and request ID. */
299
308
  saveAgentWithResponse(input, options) { return this.requestDetailed("save_agent", input, options); }
300
309
  /**
301
310
  * File or update a typed ask in the Apostra Support workflow; returns askId. Supply is buyer inventory. Call immediately with type support when a person explicitly asks for a human; do not diagnose first.
@@ -334,13 +343,13 @@ export class Apostra extends Transport {
334
343
  /** Write seller AI Business Rules. Policy content needs an account admin and both policy fields. Approval auto needs acknowledgeNoHumanReview. Returns the data together with response headers and request ID. */
335
344
  saveBusinessRulesWithResponse(input, options) { return this.requestDetailed("save_business_rules", input, options); }
336
345
  /**
337
- * Create, rename, reconcile access, change lifecycle, or prepare a human credential handoff for one buyer agent per call.
346
+ * Create or manage one buyer agent.
338
347
  *
339
348
  * @example
340
349
  * await client.saveBuyerAgent(input, { idempotencyKey: 'stable-key' })
341
350
  */
342
351
  saveBuyerAgent(input, options) { return this.request("save_buyer_agent", input, options); }
343
- /** Create, rename, reconcile access, change lifecycle, or prepare a human credential handoff for one buyer agent per call. Returns the data together with response headers and request ID. */
352
+ /** Create or manage one buyer agent. Returns the data together with response headers and request ID. */
344
353
  saveBuyerAgentWithResponse(input, options) { return this.requestDetailed("save_buyer_agent", input, options); }
345
354
  /**
346
355
  * Save buyer commercial identity. Read get_status; use identityContract:confirmed-v1 for preview and confirmation. Guide: /v2/setup/v3/identity-setup.
@@ -352,22 +361,22 @@ export class Apostra extends Transport {
352
361
  /** Save buyer commercial identity. Read get_status; use identityContract:confirmed-v1 for preview and confirmation. Guide: /v2/setup/v3/identity-setup. Returns the data together with response headers and request ID. */
353
362
  saveBuyerOperatorWithResponse(input, options) { return this.requestDetailed("save_buyer_operator", input, options); }
354
363
  /**
355
- * Save a campaign. Create needs advertiserId and name; flight and budget are optional. Split inventory choices into separate media buys; presets expand dimensions. To launch, set desiredPhase: active with confirmLaunch: true; omit confirmation to preview. Cancellation never cancels media buys.
364
+ * Save a campaign. To create, send advertiserId and name; flight and budget are optional. Split inventory into media buys. Set desiredPhase: active to launch; omit confirmLaunch to preview. Cancellation is irreversible: desiredPhase: canceled cancels the campaign and every live media buy.
356
365
  *
357
366
  * @example
358
367
  * await client.saveCampaign(input, { idempotencyKey: 'stable-key' })
359
368
  */
360
369
  saveCampaign(input, options) { return this.request("save_campaign", input, options); }
361
- /** Save a campaign. Create needs advertiserId and name; flight and budget are optional. Split inventory choices into separate media buys; presets expand dimensions. To launch, set desiredPhase: active with confirmLaunch: true; omit confirmation to preview. Cancellation never cancels media buys. Returns the data together with response headers and request ID. */
370
+ /** Save a campaign. To create, send advertiserId and name; flight and budget are optional. Split inventory into media buys. Set desiredPhase: active to launch; omit confirmLaunch to preview. Cancellation is irreversible: desiredPhase: canceled cancels the campaign and every live media buy. Returns the data together with response headers and request ID. */
362
371
  saveCampaignWithResponse(input, options) { return this.requestDetailed("save_campaign", input, options); }
363
372
  /**
364
- * Create or replace one flat catalog declaration by catalogId, or archive it with isArchived. URL saves refetch the feed.
373
+ * Create or replace a catalog: type and exactly one of url (feed URL) or non-empty items are required. If missing, ask the buyer for the feed URL or items before calling. URL saves refetch the feed. To archive, set isArchived: true with identity only; type, url and items are not needed.
365
374
  *
366
375
  * @example
367
376
  * await client.saveCatalog(input, { idempotencyKey: 'stable-key' })
368
377
  */
369
378
  saveCatalog(input, options) { return this.request("save_catalog", input, options); }
370
- /** Create or replace one flat catalog declaration by catalogId, or archive it with isArchived. URL saves refetch the feed. Returns the data together with response headers and request ID. */
379
+ /** Create or replace a catalog: type and exactly one of url (feed URL) or non-empty items are required. If missing, ask the buyer for the feed URL or items before calling. URL saves refetch the feed. To archive, set isArchived: true with identity only; type, url and items are not needed. Returns the data together with response headers and request ID. */
371
380
  saveCatalogWithResponse(input, options) { return this.requestDetailed("save_catalog", input, options); }
372
381
  /**
373
382
  * Manage seller or creative-engine authorization, accounts and advertiser mappings. Seller-only: reporting, selection, billing, policy, activation.
@@ -424,13 +433,13 @@ export class Apostra extends Transport {
424
433
  /** Create a dimension, or update an existing dimension by its id. Tags is built in and open. Labels belong only to objects in appliesTo. Returns the data together with response headers and request ID. */
425
434
  saveDimensionWithResponse(input, options) { return this.requestDetailed("save_dimension", input, options); }
426
435
  /**
427
- * Subscribe to a connected seller's directed campaigns, mirroring its media buys into this buyer's view. Set `unsubscribe: true` to remove the subscription and retire mirrored campaigns. Requires a mapped seller account and reachable advertiser.
436
+ * Import native campaigns from Spotify Ads Manager or other platforms, including future-start campaigns, as read-only mirrors. Confirm ongoing sync first. No provider changes. /v3/import-existing-campaigns.
428
437
  *
429
438
  * @example
430
439
  * await client.saveDirectedCampaignSubscription(input, { idempotencyKey: 'stable-key' })
431
440
  */
432
441
  saveDirectedCampaignSubscription(input, options) { return this.request("save_directed_campaign_subscription", input, options); }
433
- /** Subscribe to a connected seller's directed campaigns, mirroring its media buys into this buyer's view. Set `unsubscribe: true` to remove the subscription and retire mirrored campaigns. Requires a mapped seller account and reachable advertiser. Returns the data together with response headers and request ID. */
442
+ /** Import native campaigns from Spotify Ads Manager or other platforms, including future-start campaigns, as read-only mirrors. Confirm ongoing sync first. No provider changes. /v3/import-existing-campaigns. Returns the data together with response headers and request ID. */
434
443
  saveDirectedCampaignSubscriptionWithResponse(input, options) { return this.requestDetailed("save_directed_campaign_subscription", input, options); }
435
444
  /**
436
445
  * Create, change, archive, or restore up to 50 advertiser conversion event sources (pixels, server feeds). Each entry is keyed by eventSourceId and succeeds or fails alone. Setup is not proof events flow: check health with get, then use eventSourceId in an optimization goal.
@@ -450,6 +459,15 @@ export class Apostra extends Transport {
450
459
  saveInventorySource(input, options) { return this.request("save_inventory_source", input, options); }
451
460
  /** Create or update where a seller's inventory comes from. Pass `id` to change an existing source, omit it to add one. Credentials are never passed here — a source that needs a secret comes back with the state and the page that collects it. Returns the data together with response headers and request ID. */
452
461
  saveInventorySourceWithResponse(input, options) { return this.requestDetailed("save_inventory_source", input, options); }
462
+ /**
463
+ * Manage seller lessons. propose requires lesson; approve and retire require lessonId; preview requires lessonId and brief. Preserve seller words from a private Session note and ask if kind or scope is unclear.
464
+ *
465
+ * @example
466
+ * await client.saveLesson(input, { idempotencyKey: 'stable-key' })
467
+ */
468
+ saveLesson(input, options) { return this.request("save_lesson", input, options); }
469
+ /** Manage seller lessons. propose requires lesson; approve and retire require lessonId; preview requires lessonId and brief. Preserve seller words from a private Session note and ask if kind or scope is unclear. Returns the data together with response headers and request ID. */
470
+ saveLessonWithResponse(input, options) { return this.requestDetailed("save_lesson", input, options); }
453
471
  /**
454
472
  * Open a seller library request or close it with seller Material.
455
473
  *
@@ -487,13 +505,13 @@ export class Apostra extends Transport {
487
505
  /** Deprecated compatibility tool ("listing" is the modern term). It writes only the legacy businessProfile and does not update the canonical buyer-visible listing. New clients must read with `get({ kind: "seller", include: ["listing"] })` and write with `save_seller`. Returns the data together with response headers and request ID. */
488
506
  saveMediaKitWithResponse(input, options) { return this.requestDetailed("save_media_kit", input, options); }
489
507
  /**
490
- * Create or update a notification subscription: scope, content, routes; no trigger type is creatable yet, no delivery policy yet. Omit subscriptionId to create, supply it to patch. Managed subscriptions are editable only within their mutability. Credentials belong to save_integration.
508
+ * Create or update a notification subscription. Omit subscriptionId to create; managed subscriptions permit only mutable fields. Use save_integration for credentials when needed.
491
509
  *
492
510
  * @example
493
511
  * await client.saveNotificationConfig(input, { idempotencyKey: 'stable-key' })
494
512
  */
495
513
  saveNotificationConfig(input, options) { return this.request("save_notification_config", input, options); }
496
- /** Create or update a notification subscription: scope, content, routes; no trigger type is creatable yet, no delivery policy yet. Omit subscriptionId to create, supply it to patch. Managed subscriptions are editable only within their mutability. Credentials belong to save_integration. Returns the data together with response headers and request ID. */
514
+ /** Create or update a notification subscription. Omit subscriptionId to create; managed subscriptions permit only mutable fields. Use save_integration for credentials when needed. Returns the data together with response headers and request ID. */
497
515
  saveNotificationConfigWithResponse(input, options) { return this.requestDetailed("save_notification_config", input, options); }
498
516
  /**
499
517
  * Write how the seller sells. `active` creates and activates a new version in one step — no separate activate; the response names the version created and replaced. `pricing` replaces the whole fact list. `discounts` sets or removes brand/operator rules one by one. Halves never roll back each other.
@@ -505,13 +523,13 @@ export class Apostra extends Transport {
505
523
  /** Write how the seller sells. `active` creates and activates a new version in one step — no separate activate; the response names the version created and replaced. `pricing` replaces the whole fact list. `discounts` sets or removes brand/operator rules one by one. Halves never roll back each other. Returns the data together with response headers and request ID. */
506
524
  savePlaybookWithResponse(input, options) { return this.requestDetailed("save_playbook", input, options); }
507
525
  /**
508
- * Create, update, archive, or AAO-check an advertiser property list. Check uses identifiers without saving. Search/get read saved lists.
526
+ * Create, update, archive, restore, or AAO-check an advertiser property list. Check uses identifiers without saving. Search/get read saved lists.
509
527
  *
510
528
  * @example
511
529
  * await client.savePropertyList(input, { idempotencyKey: 'stable-key' })
512
530
  */
513
531
  savePropertyList(input, options) { return this.request("save_property_list", input, options); }
514
- /** Create, update, archive, or AAO-check an advertiser property list. Check uses identifiers without saving. Search/get read saved lists. Returns the data together with response headers and request ID. */
532
+ /** Create, update, archive, restore, or AAO-check an advertiser property list. Check uses identifiers without saving. Search/get read saved lists. Returns the data together with response headers and request ID. */
515
533
  savePropertyListWithResponse(input, options) { return this.requestDetailed("save_property_list", input, options); }
516
534
  /**
517
535
  * Save RFPs and turns: imported origins, typed feedback, response pairs, endorsement, and proposal-file requests.