@zernio/node 0.2.980 → 0.2.981

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.
@@ -9914,6 +9914,32 @@ export type TrackingTagEventInput = {
9914
9914
  */
9915
9915
  export type TrackingTagInstallBlockedReason = 'insufficient_permissions' | 'scripts_stripped' | 'wordpress_com_plan' | 'no_widget_areas' | 'widgets_api_unavailable';
9916
9916
 
9917
+ /**
9918
+ * Another business a tracking tag is shared with.
9919
+ */
9920
+ export type TrackingTagPartner = {
9921
+ /**
9922
+ * Partner business id.
9923
+ */
9924
+ id: string;
9925
+ name?: string;
9926
+ };
9927
+
9928
+ /**
9929
+ * A person or system user of the owning business with access to a tracking tag.
9930
+ */
9931
+ export type TrackingTagUser = {
9932
+ /**
9933
+ * Business-scoped user id (as listed by GET /v1/ads/businesses/users).
9934
+ */
9935
+ id: string;
9936
+ name?: string;
9937
+ /**
9938
+ * Platform permission names (Meta: `AA_ANALYZE`, `ADVERTISE`, `ANALYZE`, `EDIT`, `UPLOAD`).
9939
+ */
9940
+ tasks: Array<(string)>;
9941
+ };
9942
+
9917
9943
  /**
9918
9944
  * X-specific post options. The article field creates a long-form X Article and is mutually exclusive with tweet media and tweet-only options. Geo-restriction applies at the media level: media is hidden outside the specified countries while tweet text remains visible.
9919
9945
  *
@@ -50015,6 +50041,89 @@ export type DeleteTrackingTagEventError = (ErrorResponse | {
50015
50041
  error?: string;
50016
50042
  } | unknown);
50017
50043
 
50044
+ export type ListTrackingTagUsersData = {
50045
+ path: {
50046
+ accountId: string;
50047
+ /**
50048
+ * Tag id (`TrackingTag.id`).
50049
+ */
50050
+ tagId: string;
50051
+ };
50052
+ };
50053
+
50054
+ export type ListTrackingTagUsersResponse = ({
50055
+ platform?: string;
50056
+ users?: Array<TrackingTagUser>;
50057
+ });
50058
+
50059
+ export type ListTrackingTagUsersError = (ErrorResponse | {
50060
+ error?: string;
50061
+ } | unknown);
50062
+
50063
+ export type AssignTrackingTagUserData = {
50064
+ body: {
50065
+ userId: string;
50066
+ tasks: Array<(string)>;
50067
+ };
50068
+ path: {
50069
+ accountId: string;
50070
+ /**
50071
+ * Tag id (`TrackingTag.id`).
50072
+ */
50073
+ tagId: string;
50074
+ };
50075
+ };
50076
+
50077
+ export type AssignTrackingTagUserResponse = ({
50078
+ platform?: string;
50079
+ userId?: string;
50080
+ tasks?: Array<(string)>;
50081
+ });
50082
+
50083
+ export type AssignTrackingTagUserError = (ErrorResponse | {
50084
+ error?: string;
50085
+ } | unknown);
50086
+
50087
+ export type RemoveTrackingTagUserData = {
50088
+ path: {
50089
+ accountId: string;
50090
+ tagId: string;
50091
+ /**
50092
+ * User id (`TrackingTagUser.id`).
50093
+ */
50094
+ userId: string;
50095
+ };
50096
+ };
50097
+
50098
+ export type RemoveTrackingTagUserResponse = ({
50099
+ platform?: string;
50100
+ userId?: string;
50101
+ removed?: boolean;
50102
+ });
50103
+
50104
+ export type RemoveTrackingTagUserError = (ErrorResponse | {
50105
+ error?: string;
50106
+ } | unknown);
50107
+
50108
+ export type ListTrackingTagPartnersData = {
50109
+ path: {
50110
+ accountId: string;
50111
+ /**
50112
+ * Tag id (`TrackingTag.id`).
50113
+ */
50114
+ tagId: string;
50115
+ };
50116
+ };
50117
+
50118
+ export type ListTrackingTagPartnersResponse = ({
50119
+ platform?: string;
50120
+ partners?: Array<TrackingTagPartner>;
50121
+ });
50122
+
50123
+ export type ListTrackingTagPartnersError = (ErrorResponse | {
50124
+ error?: string;
50125
+ } | unknown);
50126
+
50018
50127
  export type GetTrackingTagDiagnosticsData = {
50019
50128
  path: {
50020
50129
  accountId: string;