@pushwoosh/rpc-v2-http-api-data 0.2.526 → 0.2.527
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/data.js +4 -0
- package/package.json +1 -1
- package/tags.d.ts +9 -4
package/data.js
CHANGED
|
@@ -39766,6 +39766,10 @@ export const data = {
|
|
|
39766
39766
|
},
|
|
39767
39767
|
"type": {
|
|
39768
39768
|
"type": "pushwoosh.rpc_v2.tags.Tag.Type"
|
|
39769
|
+
},
|
|
39770
|
+
"fields": {
|
|
39771
|
+
"type": "pushwoosh.rpc_v2.tags.TagField",
|
|
39772
|
+
"array": true
|
|
39769
39773
|
}
|
|
39770
39774
|
}
|
|
39771
39775
|
},
|
package/package.json
CHANGED
package/tags.d.ts
CHANGED
|
@@ -48,8 +48,13 @@ export type Tag = {
|
|
|
48
48
|
export type TagField = {
|
|
49
49
|
/** Field name relative to its object: "amount" for the tag "order.amount". */
|
|
50
50
|
name: string;
|
|
51
|
-
/** INTEGER, STRING, LIST, DATE, BOOLEAN, PRICE or
|
|
51
|
+
/** INTEGER, STRING, LIST, DATE, BOOLEAN, PRICE, VERSION, or OBJECT and OBJECT_LIST for a nested object. */
|
|
52
52
|
type: Tag_Type;
|
|
53
|
+
/**
|
|
54
|
+
* Fields of an OBJECT or OBJECT_LIST field, 1 to 20, ordered by name. Objects nest at most 3 levels deep, the tag itself
|
|
55
|
+
* being the first, and one object tag holds at most 50 fields with values.
|
|
56
|
+
*/
|
|
57
|
+
fields: TagField[];
|
|
53
58
|
};
|
|
54
59
|
export type CreateTagRequest = {
|
|
55
60
|
/** Tag name to create (letters, digits, spaces and dashes; max 64 chars). */
|
|
@@ -58,7 +63,7 @@ export type CreateTagRequest = {
|
|
|
58
63
|
type?: Tag_Type;
|
|
59
64
|
/** If true the tag is stored per user id rather than per device. OBJECT and OBJECT_LIST tags are always user-specific. */
|
|
60
65
|
userSpecific?: boolean;
|
|
61
|
-
/** Fields of an OBJECT or OBJECT_LIST tag, 1 to 20; ignored for other types. */
|
|
66
|
+
/** Fields of an OBJECT or OBJECT_LIST tag, 1 to 20; ignored for other types. A field may be an object itself, see TagField. */
|
|
62
67
|
fields?: TagField[];
|
|
63
68
|
};
|
|
64
69
|
export type CreateTagResponse = {
|
|
@@ -150,7 +155,7 @@ export type GetTagValuesResponse = {
|
|
|
150
155
|
perPage: number;
|
|
151
156
|
};
|
|
152
157
|
export type AddTagFieldRequest = {
|
|
153
|
-
/** Name of the OBJECT or OBJECT_LIST tag. */
|
|
158
|
+
/** Name of the OBJECT or OBJECT_LIST tag, or the full name of a nested object field ("order.address"). */
|
|
154
159
|
name?: string;
|
|
155
160
|
field?: TagField;
|
|
156
161
|
};
|
|
@@ -158,7 +163,7 @@ export type AddTagFieldResponse = {
|
|
|
158
163
|
tag: Tag;
|
|
159
164
|
};
|
|
160
165
|
export type DeleteTagFieldRequest = {
|
|
161
|
-
/** Name of the OBJECT or OBJECT_LIST tag. */
|
|
166
|
+
/** Name of the OBJECT or OBJECT_LIST tag, or the full name of a nested object field ("order.address"). */
|
|
162
167
|
name?: string;
|
|
163
168
|
/** Field name relative to the object. */
|
|
164
169
|
field?: string;
|