@zinn-digital/sdk 0.1.1588 → 0.1.1589
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/schema.d.ts +29 -4
- package/package.json +1 -1
|
@@ -64650,7 +64650,7 @@ export interface components {
|
|
|
64650
64650
|
};
|
|
64651
64651
|
AdsAnalyticsBreakdown: components["schemas"]["AdsAnalyticsFrame"] & {
|
|
64652
64652
|
/** @enum {string} */
|
|
64653
|
-
by: "network" | "connection" | "campaign" | "country" | "device" | "offering";
|
|
64653
|
+
by: "network" | "connection" | "campaign" | "country" | "device" | "offering" | "client";
|
|
64654
64654
|
limit: number;
|
|
64655
64655
|
offset: number;
|
|
64656
64656
|
rows: components["schemas"]["AdsAnalyticsRow"][];
|
|
@@ -65033,6 +65033,8 @@ export interface components {
|
|
|
65033
65033
|
offering_id?: string | null;
|
|
65034
65034
|
/** Format: uuid */
|
|
65035
65035
|
org_id?: string;
|
|
65036
|
+
/** @description za-287: a `by=client` row that is the agency's OWN accounts (not a client's). */
|
|
65037
|
+
own?: boolean;
|
|
65036
65038
|
previous: components["schemas"]["AdsAnalyticsFigures"] | null;
|
|
65037
65039
|
spark_cost_micros: number[];
|
|
65038
65040
|
};
|
|
@@ -69354,7 +69356,7 @@ export interface components {
|
|
|
69354
69356
|
AdsSavedViewCadence: "" | "daily" | "weekly" | "monthly";
|
|
69355
69357
|
AdsSavedViewChart: {
|
|
69356
69358
|
/** @enum {string} */
|
|
69357
|
-
board?: "network" | "connection" | "campaign" | "country" | "device" | "offering";
|
|
69359
|
+
board?: "network" | "connection" | "campaign" | "country" | "device" | "offering" | "client";
|
|
69358
69360
|
/** @enum {string} */
|
|
69359
69361
|
metric?: "cost" | "value" | "roas" | "conversions" | "cpa" | "ctr" | "cpc" | "clicks" | "impressions" | "convRate";
|
|
69360
69362
|
};
|
|
@@ -69370,6 +69372,7 @@ export interface components {
|
|
|
69370
69372
|
/** @description The `/ads/analytics` filters, exactly the analytics API's query parameters (only those set). */
|
|
69371
69373
|
AdsSavedViewParams: {
|
|
69372
69374
|
campaign?: string;
|
|
69375
|
+
client?: string;
|
|
69373
69376
|
/** @enum {string} */
|
|
69374
69377
|
compare?: "previous" | "year" | "none";
|
|
69375
69378
|
connection?: string;
|
|
@@ -115338,6 +115341,8 @@ export interface components {
|
|
|
115338
115341
|
ActiveOrg: string;
|
|
115339
115342
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
115340
115343
|
AdsAnalyticsCampaign: string;
|
|
115344
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
115345
|
+
AdsAnalyticsClient: string;
|
|
115341
115346
|
AdsAnalyticsCompare: "previous" | "year" | "none";
|
|
115342
115347
|
/** @description Comma-separated ad-account connection ids. */
|
|
115343
115348
|
AdsAnalyticsConnection: string;
|
|
@@ -141021,9 +141026,11 @@ export interface operations {
|
|
|
141021
141026
|
getAdsAnalyticsBreakdown: {
|
|
141022
141027
|
parameters: {
|
|
141023
141028
|
query?: {
|
|
141024
|
-
by?: "network" | "connection" | "campaign" | "country" | "device" | "offering";
|
|
141029
|
+
by?: "network" | "connection" | "campaign" | "country" | "device" | "offering" | "client";
|
|
141025
141030
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141026
141031
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141032
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141033
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141027
141034
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141028
141035
|
/** @description Comma-separated ad-account connection ids. */
|
|
141029
141036
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141074,9 +141081,11 @@ export interface operations {
|
|
|
141074
141081
|
exportAdsAnalyticsTable: {
|
|
141075
141082
|
parameters: {
|
|
141076
141083
|
query?: {
|
|
141077
|
-
by?: "network" | "connection" | "campaign" | "country" | "device" | "offering";
|
|
141084
|
+
by?: "network" | "connection" | "campaign" | "country" | "device" | "offering" | "client";
|
|
141078
141085
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141079
141086
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141087
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141088
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141080
141089
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141081
141090
|
/** @description Comma-separated ad-account connection ids. */
|
|
141082
141091
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141129,6 +141138,8 @@ export interface operations {
|
|
|
141129
141138
|
query?: {
|
|
141130
141139
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141131
141140
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141141
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141142
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141132
141143
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141133
141144
|
/** @description Comma-separated ad-account connection ids. */
|
|
141134
141145
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141179,6 +141190,8 @@ export interface operations {
|
|
|
141179
141190
|
query?: {
|
|
141180
141191
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141181
141192
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141193
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141194
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141182
141195
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141183
141196
|
/** @description Comma-separated ad-account connection ids. */
|
|
141184
141197
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141229,6 +141242,8 @@ export interface operations {
|
|
|
141229
141242
|
query?: {
|
|
141230
141243
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141231
141244
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141245
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141246
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141232
141247
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141233
141248
|
/** @description Comma-separated ad-account connection ids. */
|
|
141234
141249
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141279,6 +141294,8 @@ export interface operations {
|
|
|
141279
141294
|
query?: {
|
|
141280
141295
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141281
141296
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141297
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141298
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141282
141299
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141283
141300
|
/** @description Comma-separated ad-account connection ids. */
|
|
141284
141301
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141329,6 +141346,8 @@ export interface operations {
|
|
|
141329
141346
|
query?: {
|
|
141330
141347
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141331
141348
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141349
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141350
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141332
141351
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141333
141352
|
/** @description Comma-separated ad-account connection ids. */
|
|
141334
141353
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141383,6 +141402,8 @@ export interface operations {
|
|
|
141383
141402
|
query?: {
|
|
141384
141403
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141385
141404
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141405
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141406
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141386
141407
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141387
141408
|
/** @description Comma-separated ad-account connection ids. */
|
|
141388
141409
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141441,6 +141462,8 @@ export interface operations {
|
|
|
141441
141462
|
query?: {
|
|
141442
141463
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141443
141464
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141465
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141466
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141444
141467
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141445
141468
|
/** @description Comma-separated ad-account connection ids. */
|
|
141446
141469
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141491,6 +141514,8 @@ export interface operations {
|
|
|
141491
141514
|
query?: {
|
|
141492
141515
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141493
141516
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141517
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141518
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141494
141519
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141495
141520
|
/** @description Comma-separated ad-account connection ids. */
|
|
141496
141521
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1589",
|
|
4
4
|
"description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",
|