@getlatedev/node 0.2.1295 → 0.2.1297
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/README.md +1 -0
- package/dist/index.d.mts +41 -1
- package/dist/index.d.ts +41 -1
- package/dist/index.js +10 -1
- package/dist/index.mjs +10 -1
- package/package.json +1 -1
- package/src/client.ts +4 -0
- package/src/generated/sdk.gen.ts +30 -11
- package/src/generated/types.gen.ts +40 -0
|
@@ -53884,6 +53884,9 @@ export type AddUsersToAdAudienceData = {
|
|
|
53884
53884
|
export type AddUsersToAdAudienceResponse = ({
|
|
53885
53885
|
message?: string;
|
|
53886
53886
|
numReceived?: number;
|
|
53887
|
+
/**
|
|
53888
|
+
* Rows the platform could not read. Returned on Meta only.
|
|
53889
|
+
*/
|
|
53887
53890
|
numInvalid?: number;
|
|
53888
53891
|
});
|
|
53889
53892
|
|
|
@@ -53891,6 +53894,43 @@ export type AddUsersToAdAudienceError = (unknown | ErrorResponse | {
|
|
|
53891
53894
|
error?: string;
|
|
53892
53895
|
});
|
|
53893
53896
|
|
|
53897
|
+
export type RemoveUsersFromAdAudienceData = {
|
|
53898
|
+
body: {
|
|
53899
|
+
users: Array<{
|
|
53900
|
+
email?: string;
|
|
53901
|
+
phone?: string;
|
|
53902
|
+
}>;
|
|
53903
|
+
};
|
|
53904
|
+
path: {
|
|
53905
|
+
/**
|
|
53906
|
+
* The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
|
|
53907
|
+
*/
|
|
53908
|
+
audienceId: string;
|
|
53909
|
+
};
|
|
53910
|
+
};
|
|
53911
|
+
|
|
53912
|
+
export type RemoveUsersFromAdAudienceResponse = ({
|
|
53913
|
+
message?: string;
|
|
53914
|
+
/**
|
|
53915
|
+
* Rows Meta received.
|
|
53916
|
+
*/
|
|
53917
|
+
numReceived?: number;
|
|
53918
|
+
/**
|
|
53919
|
+
* Rows Meta could not read.
|
|
53920
|
+
*/
|
|
53921
|
+
numInvalid?: number;
|
|
53922
|
+
/**
|
|
53923
|
+
* A sample of the rows Meta could not read, passed through as Meta returns it. Empty when every row was valid.
|
|
53924
|
+
*/
|
|
53925
|
+
invalidEntrySamples?: {
|
|
53926
|
+
[key: string]: (string);
|
|
53927
|
+
};
|
|
53928
|
+
});
|
|
53929
|
+
|
|
53930
|
+
export type RemoveUsersFromAdAudienceError = (ErrorResponse | unknown | {
|
|
53931
|
+
error?: string;
|
|
53932
|
+
});
|
|
53933
|
+
|
|
53894
53934
|
export type ReplaceAdAudienceCompaniesData = {
|
|
53895
53935
|
body: {
|
|
53896
53936
|
/**
|