@maxim_mazurok/gapi.client.adexchangebuyer2-v2beta1 0.0.20250123 → 0.0.20250128

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.
Files changed (3) hide show
  1. package/index.d.ts +26 -26
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://adexchangebuyer.googleapis.com/$discovery/rest?version=v2beta1
12
- // Revision: 20250123
12
+ // Revision: 20250128
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Ad Exchange Buyer API II v2beta1 */
18
18
  function load(
19
- urlOrObject: 'https://adexchangebuyer.googleapis.com/$discovery/rest?version=v2beta1'
19
+ urlOrObject: 'https://adexchangebuyer.googleapis.com/$discovery/rest?version=v2beta1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'adexchangebuyer2', version: 'v2beta1'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'adexchangebuyer2',
26
26
  version: 'v2beta1',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace adexchangebuyer2 {
@@ -1059,7 +1059,7 @@ declare namespace gapi.client {
1059
1059
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1060
1060
  uploadType?: string;
1061
1061
  },
1062
- body: ClientUserInvitation
1062
+ body: ClientUserInvitation,
1063
1063
  ): Request<ClientUserInvitation>;
1064
1064
  /** Retrieves an existing client user invitation. */
1065
1065
  get(request?: {
@@ -1255,7 +1255,7 @@ declare namespace gapi.client {
1255
1255
  /** Numerical identifier of the user to retrieve. (required) */
1256
1256
  userId: string;
1257
1257
  },
1258
- body: ClientUser
1258
+ body: ClientUser,
1259
1259
  ): Request<ClientUser>;
1260
1260
  }
1261
1261
  interface ClientsResource {
@@ -1315,7 +1315,7 @@ declare namespace gapi.client {
1315
1315
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1316
1316
  uploadType?: string;
1317
1317
  },
1318
- body: Client
1318
+ body: Client,
1319
1319
  ): Request<Client>;
1320
1320
  /** Gets a client buyer with a given client account ID. */
1321
1321
  get(request?: {
@@ -1439,7 +1439,7 @@ declare namespace gapi.client {
1439
1439
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1440
1440
  uploadType?: string;
1441
1441
  },
1442
- body: Client
1442
+ body: Client,
1443
1443
  ): Request<Client>;
1444
1444
  invitations: InvitationsResource;
1445
1445
  users: UsersResource;
@@ -1505,7 +1505,7 @@ declare namespace gapi.client {
1505
1505
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1506
1506
  uploadType?: string;
1507
1507
  },
1508
- body: AddDealAssociationRequest
1508
+ body: AddDealAssociationRequest,
1509
1509
  ): Request<{}>;
1510
1510
  /** List all creative-deal associations. */
1511
1511
  list(request?: {
@@ -1602,7 +1602,7 @@ declare namespace gapi.client {
1602
1602
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1603
1603
  uploadType?: string;
1604
1604
  },
1605
- body: RemoveDealAssociationRequest
1605
+ body: RemoveDealAssociationRequest,
1606
1606
  ): Request<{}>;
1607
1607
  }
1608
1608
  interface CreativesResource {
@@ -1666,7 +1666,7 @@ declare namespace gapi.client {
1666
1666
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1667
1667
  uploadType?: string;
1668
1668
  },
1669
- body: Creative
1669
+ body: Creative,
1670
1670
  ): Request<Creative>;
1671
1671
  /** Gets a creative. */
1672
1672
  get(request?: {
@@ -1790,7 +1790,7 @@ declare namespace gapi.client {
1790
1790
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1791
1791
  uploadType?: string;
1792
1792
  },
1793
- body: StopWatchingCreativeRequest
1793
+ body: StopWatchingCreativeRequest,
1794
1794
  ): Request<{}>;
1795
1795
  /** Updates a creative. */
1796
1796
  update(request: {
@@ -1852,7 +1852,7 @@ declare namespace gapi.client {
1852
1852
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1853
1853
  uploadType?: string;
1854
1854
  },
1855
- body: Creative
1855
+ body: Creative,
1856
1856
  ): Request<Creative>;
1857
1857
  /** Watches a creative. Will result in push notifications being sent to the topic when the creative changes status. */
1858
1858
  watch(request: {
@@ -1914,7 +1914,7 @@ declare namespace gapi.client {
1914
1914
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1915
1915
  uploadType?: string;
1916
1916
  },
1917
- body: WatchCreativeRequest
1917
+ body: WatchCreativeRequest,
1918
1918
  ): Request<{}>;
1919
1919
  dealAssociations: DealAssociationsResource;
1920
1920
  }
@@ -2014,7 +2014,7 @@ declare namespace gapi.client {
2014
2014
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2015
2015
  uploadType?: string;
2016
2016
  },
2017
- body: PauseProposalDealsRequest
2017
+ body: PauseProposalDealsRequest,
2018
2018
  ): Request<Proposal>;
2019
2019
  /** Update given deals to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, call accounts.proposals.resume endpoint. It is a no-op to resume running deals or deals paused by the other party. It is an error to call ResumeProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating. */
2020
2020
  resume(request: {
@@ -2076,7 +2076,7 @@ declare namespace gapi.client {
2076
2076
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2077
2077
  uploadType?: string;
2078
2078
  },
2079
- body: ResumeProposalDealsRequest
2079
+ body: ResumeProposalDealsRequest,
2080
2080
  ): Request<Proposal>;
2081
2081
  }
2082
2082
  interface ProductsResource {
@@ -2204,7 +2204,7 @@ declare namespace gapi.client {
2204
2204
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2205
2205
  uploadType?: string;
2206
2206
  },
2207
- body: AcceptProposalRequest
2207
+ body: AcceptProposalRequest,
2208
2208
  ): Request<Proposal>;
2209
2209
  /** Create a new note and attach it to the proposal. The note is assigned a unique ID by the server. The proposal revision number will not increase when associated with a new note. */
2210
2210
  addNote(request: {
@@ -2266,7 +2266,7 @@ declare namespace gapi.client {
2266
2266
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2267
2267
  uploadType?: string;
2268
2268
  },
2269
- body: AddNoteRequest
2269
+ body: AddNoteRequest,
2270
2270
  ): Request<Note>;
2271
2271
  /** Cancel an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the proposal has been finalized, but only cancels a negotiation unilaterally. */
2272
2272
  cancelNegotiation(request: {
@@ -2328,7 +2328,7 @@ declare namespace gapi.client {
2328
2328
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2329
2329
  uploadType?: string;
2330
2330
  },
2331
- body: CancelNegotiationRequest
2331
+ body: CancelNegotiationRequest,
2332
2332
  ): Request<Proposal>;
2333
2333
  /** You can opt-in to manually update proposals to indicate that setup is complete. By default, proposal setup is automatically completed after their deals are finalized. Contact your Technical Account Manager to opt in. Buyers can call this method when the proposal has been finalized, and all the required creatives have been uploaded using the Creatives API. This call updates the `is_setup_completed` field on the deals in the proposal, and notifies the seller. The server then advances the revision number of the most recent proposal. To mark an individual deal as ready to serve, call `buyers.finalizedDeals.setReadyToServe` in the Marketplace API. */
2334
2334
  completeSetup(request: {
@@ -2390,7 +2390,7 @@ declare namespace gapi.client {
2390
2390
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2391
2391
  uploadType?: string;
2392
2392
  },
2393
- body: CompleteSetupRequest
2393
+ body: CompleteSetupRequest,
2394
2394
  ): Request<Proposal>;
2395
2395
  /** Create the given proposal. Each created proposal and any deals it contains are assigned a unique ID by the server. */
2396
2396
  create(request: {
@@ -2448,7 +2448,7 @@ declare namespace gapi.client {
2448
2448
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2449
2449
  uploadType?: string;
2450
2450
  },
2451
- body: Proposal
2451
+ body: Proposal,
2452
2452
  ): Request<Proposal>;
2453
2453
  /** Gets a proposal given its ID. The proposal is returned at its head revision. */
2454
2454
  get(request?: {
@@ -2574,7 +2574,7 @@ declare namespace gapi.client {
2574
2574
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2575
2575
  uploadType?: string;
2576
2576
  },
2577
- body: PauseProposalRequest
2577
+ body: PauseProposalRequest,
2578
2578
  ): Request<Proposal>;
2579
2579
  /** Update the given proposal to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all deals in the proposal. Note that if the `has_seller_paused` bit is also set, serving will not resume until the seller also resumes. It is a no-op to resume an already-running proposal. It is an error to call ResumeProposal for a proposal that is not finalized or renegotiating. */
2580
2580
  resume(request: {
@@ -2636,7 +2636,7 @@ declare namespace gapi.client {
2636
2636
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2637
2637
  uploadType?: string;
2638
2638
  },
2639
- body: ResumeProposalRequest
2639
+ body: ResumeProposalRequest,
2640
2640
  ): Request<Proposal>;
2641
2641
  /** Update the given proposal at the client known revision number. If the server revision has advanced since the passed-in `proposal.proposal_revision`, an `ABORTED` error message will be returned. Only the buyer-modifiable fields of the proposal will be updated. Note that the deals in the proposal will be updated to match the passed-in copy. If a passed-in deal does not have a `deal_id`, the server will assign a new unique ID and create the deal. If passed-in deal has a `deal_id`, it will be updated to match the passed-in copy. Any existing deals not present in the passed-in proposal will be deleted. It is an error to pass in a deal with a `deal_id` not present at head. */
2642
2642
  update(request: {
@@ -2698,7 +2698,7 @@ declare namespace gapi.client {
2698
2698
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2699
2699
  uploadType?: string;
2700
2700
  },
2701
- body: Proposal
2701
+ body: Proposal,
2702
2702
  ): Request<Proposal>;
2703
2703
  }
2704
2704
  interface PublisherProfilesResource {
@@ -3168,7 +3168,7 @@ declare namespace gapi.client {
3168
3168
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3169
3169
  uploadType?: string;
3170
3170
  },
3171
- body: FilterSet
3171
+ body: FilterSet,
3172
3172
  ): Request<FilterSet>;
3173
3173
  /** Deletes the requested filter set from the account with the given account ID. */
3174
3174
  delete(request?: {
@@ -3664,7 +3664,7 @@ declare namespace gapi.client {
3664
3664
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3665
3665
  uploadType?: string;
3666
3666
  },
3667
- body: FilterSet
3667
+ body: FilterSet,
3668
3668
  ): Request<FilterSet>;
3669
3669
  /** Deletes the requested filter set from the account with the given account ID. */
3670
3670
  delete(request?: {
@@ -4161,7 +4161,7 @@ declare namespace gapi.client {
4161
4161
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4162
4162
  uploadType?: string;
4163
4163
  },
4164
- body: FilterSet
4164
+ body: FilterSet,
4165
4165
  ): Request<FilterSet>;
4166
4166
  /** Deletes the requested filter set from the account with the given account ID. */
4167
4167
  delete(request?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.adexchangebuyer2-v2beta1",
3
- "version": "0.0.20250123",
3
+ "version": "0.0.20250128",
4
4
  "description": "TypeScript typings for Ad Exchange Buyer API II v2beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.adexchangebuyer2
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68