@getlatedev/node 0.2.1452 → 0.2.1453
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -0
- package/src/generated/types.gen.ts +4 -0
package/dist/index.d.mts
CHANGED
|
@@ -50441,6 +50441,10 @@ type GetCampaignResultsUploadResponse = ({
|
|
|
50441
50441
|
campaign?: string;
|
|
50442
50442
|
reason?: 'no_campaign' | 'ambiguous';
|
|
50443
50443
|
}>;
|
|
50444
|
+
/**
|
|
50445
|
+
* Set when `status` is `failed`. `queue_unavailable`: the upload could not be queued. `processing_failed`: its rows could not be stored after several retries. Both are on our side.
|
|
50446
|
+
*/
|
|
50447
|
+
failureReason: ('queue_unavailable' | 'processing_failed') | null;
|
|
50444
50448
|
createdAt: string;
|
|
50445
50449
|
completedAt: (string) | null;
|
|
50446
50450
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -50441,6 +50441,10 @@ type GetCampaignResultsUploadResponse = ({
|
|
|
50441
50441
|
campaign?: string;
|
|
50442
50442
|
reason?: 'no_campaign' | 'ambiguous';
|
|
50443
50443
|
}>;
|
|
50444
|
+
/**
|
|
50445
|
+
* Set when `status` is `failed`. `queue_unavailable`: the upload could not be queued. `processing_failed`: its rows could not be stored after several retries. Both are on our side.
|
|
50446
|
+
*/
|
|
50447
|
+
failureReason: ('queue_unavailable' | 'processing_failed') | null;
|
|
50444
50448
|
createdAt: string;
|
|
50445
50449
|
completedAt: (string) | null;
|
|
50446
50450
|
});
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1453",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1453",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -12519,6 +12519,8 @@ export const listCampaignResults = <ThrowOnError extends boolean = false>(option
|
|
|
12519
12519
|
*
|
|
12520
12520
|
* `status` turns `done` once every row is processed, usually within seconds. Uploads are kept for 30 days.
|
|
12521
12521
|
*
|
|
12522
|
+
* A `failed` upload says why in `failureReason`. Send it again: re-sending a day replaces it, so nothing is counted twice.
|
|
12523
|
+
*
|
|
12522
12524
|
*/
|
|
12523
12525
|
export const getCampaignResultsUpload = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetCampaignResultsUploadData, ThrowOnError>) => {
|
|
12524
12526
|
return (options?.client ?? client).get<GetCampaignResultsUploadResponse, GetCampaignResultsUploadError, ThrowOnError>({
|
|
@@ -51192,6 +51192,10 @@ export type GetCampaignResultsUploadResponse = ({
|
|
|
51192
51192
|
campaign?: string;
|
|
51193
51193
|
reason?: 'no_campaign' | 'ambiguous';
|
|
51194
51194
|
}>;
|
|
51195
|
+
/**
|
|
51196
|
+
* Set when `status` is `failed`. `queue_unavailable`: the upload could not be queued. `processing_failed`: its rows could not be stored after several retries. Both are on our side.
|
|
51197
|
+
*/
|
|
51198
|
+
failureReason: ('queue_unavailable' | 'processing_failed') | null;
|
|
51195
51199
|
createdAt: string;
|
|
51196
51200
|
completedAt: (string) | null;
|
|
51197
51201
|
});
|