@pushwoosh/rpc-v2-http-api-data 0.2.78 → 0.2.80
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/catalog.d.ts +154 -0
- package/catalog.js +3 -0
- package/data.js +326 -0
- package/index.d.ts +2 -0
- package/package.json +1 -1
package/catalog.d.ts
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { RpcMethod } from './commonTypes';
|
|
2
|
+
export type CatalogService_ListProducts = RpcMethod<ListProductsRequest, ListProductsResponse>;
|
|
3
|
+
export type CatalogService_GetProducts = RpcMethod<GetProductsRequest, GetProductsResponse>;
|
|
4
|
+
export type CatalogService_UpsertProducts = RpcMethod<UpsertProductsRequest, UpsertProductsResponse>;
|
|
5
|
+
export type CatalogService_DeleteProducts = RpcMethod<DeleteProductsRequest, DeleteProductsResponse>;
|
|
6
|
+
export type CatalogService_DeleteAllProducts = RpcMethod<DeleteAllProductsRequest, DeleteAllProductsResponse>;
|
|
7
|
+
export type CatalogService_ListCategories = RpcMethod<ListCategoriesRequest, ListCategoriesResponse>;
|
|
8
|
+
export type CatalogService_GetFeed = RpcMethod<GetFeedRequest, GetFeedResponse>;
|
|
9
|
+
export type CatalogService_SetFeed = RpcMethod<SetFeedRequest, SetFeedResponse>;
|
|
10
|
+
export type CatalogService_DeleteFeed = RpcMethod<DeleteFeedRequest, DeleteFeedResponse>;
|
|
11
|
+
export type CatalogService_SyncFeed = RpcMethod<SyncFeedRequest, SyncFeedResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* CatalogService manages the per-application product catalog used by email
|
|
14
|
+
* product blocks. Proxies to the catalog backend (recommender-api).
|
|
15
|
+
*/
|
|
16
|
+
export interface CatalogService {
|
|
17
|
+
/** Lists products of an application (code XXXXX-XXXXX) catalog with a title search, category filter, sorting and pagination. Returns one page and the total match count. Use to browse or search the product catalog. */
|
|
18
|
+
ListProducts: CatalogService_ListProducts;
|
|
19
|
+
/** Returns catalog products of an application (code XXXXX-XXXXX) by product IDs. Use to re-read specific products, e.g. to refresh product blocks in an email template. */
|
|
20
|
+
GetProducts: CatalogService_GetProducts;
|
|
21
|
+
/** Inserts or updates products of an application (code XXXXX-XXXXX) catalog, matched by product id; at most 1000 per request. Returns inserted and updated counts. Use to add products manually or import them from a CSV file. */
|
|
22
|
+
UpsertProducts: CatalogService_UpsertProducts;
|
|
23
|
+
/** Deletes products from an application (code XXXXX-XXXXX) catalog by product IDs. Returns the number of deleted products. */
|
|
24
|
+
DeleteProducts: CatalogService_DeleteProducts;
|
|
25
|
+
/** Deletes ALL products of an application (code XXXXX-XXXXX) catalog. Irreversible; use only when the user explicitly asks to clear the whole catalog. */
|
|
26
|
+
DeleteAllProducts: CatalogService_DeleteAllProducts;
|
|
27
|
+
/** Returns the distinct product categories of an application (code XXXXX-XXXXX) catalog. Use to build category filters. */
|
|
28
|
+
ListCategories: CatalogService_ListCategories;
|
|
29
|
+
/** Returns the merchant-feed URL of an application (code XXXXX-XXXXX) catalog and the last sync state. Empty url means no feed is connected. */
|
|
30
|
+
GetFeed: CatalogService_GetFeed;
|
|
31
|
+
/** Connects a merchant feed (JSON or Google Merchant XML, http(s) URL) to an application (code XXXXX-XXXXX) catalog; one feed per application. The feed is imported hourly; use sync_catalog_feed to import right away. */
|
|
32
|
+
SetFeed: CatalogService_SetFeed;
|
|
33
|
+
/** Disconnects the merchant feed from an application (code XXXXX-XXXXX) catalog. Already-imported products stay in the catalog. */
|
|
34
|
+
DeleteFeed: CatalogService_DeleteFeed;
|
|
35
|
+
/** Starts a merchant-feed sync of an application (code XXXXX-XXXXX) catalog in the background. Returns started=false when a sync is already running. Poll get_catalog_feed for the outcome. */
|
|
36
|
+
SyncFeed: CatalogService_SyncFeed;
|
|
37
|
+
}
|
|
38
|
+
export type Product = {
|
|
39
|
+
/** Unique product id within the application catalog (SKU or external id). */
|
|
40
|
+
id: string;
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
imageUrl: string;
|
|
44
|
+
/** Product page URL. */
|
|
45
|
+
url: string;
|
|
46
|
+
price: number;
|
|
47
|
+
category: string;
|
|
48
|
+
sku: string;
|
|
49
|
+
currentStock: number;
|
|
50
|
+
/** ISO 4217 code, e.g. "USD". */
|
|
51
|
+
currency: string;
|
|
52
|
+
/** Discounted price; 0 means no sale. */
|
|
53
|
+
salePrice: number;
|
|
54
|
+
};
|
|
55
|
+
export type ListProductsRequest = {
|
|
56
|
+
/** Pushwoosh application code (XXXXX-XXXXX). */
|
|
57
|
+
applicationCode?: string;
|
|
58
|
+
/** Case-insensitive substring match on title. */
|
|
59
|
+
search?: string;
|
|
60
|
+
category?: string;
|
|
61
|
+
/** One of: title, price, category, sku, stock; default title. */
|
|
62
|
+
sortBy?: string;
|
|
63
|
+
sortDesc?: boolean;
|
|
64
|
+
/** 0-based page number. */
|
|
65
|
+
page?: number;
|
|
66
|
+
/** Defaults to 50, capped at 500. */
|
|
67
|
+
pageSize?: number;
|
|
68
|
+
};
|
|
69
|
+
export type ListProductsResponse = {
|
|
70
|
+
products: Product[];
|
|
71
|
+
/** Total matching products regardless of pagination. */
|
|
72
|
+
total: number;
|
|
73
|
+
};
|
|
74
|
+
export type GetProductsRequest = {
|
|
75
|
+
/** Pushwoosh application code (XXXXX-XXXXX). */
|
|
76
|
+
applicationCode?: string;
|
|
77
|
+
productIds?: string[];
|
|
78
|
+
};
|
|
79
|
+
export type GetProductsResponse = {
|
|
80
|
+
products: Product[];
|
|
81
|
+
};
|
|
82
|
+
export type UpsertProductsRequest = {
|
|
83
|
+
/** Pushwoosh application code (XXXXX-XXXXX). */
|
|
84
|
+
applicationCode?: string;
|
|
85
|
+
products?: Product[];
|
|
86
|
+
};
|
|
87
|
+
export type UpsertProductsResponse = {
|
|
88
|
+
inserted: number;
|
|
89
|
+
updated: number;
|
|
90
|
+
};
|
|
91
|
+
export type DeleteProductsRequest = {
|
|
92
|
+
/** Pushwoosh application code (XXXXX-XXXXX). */
|
|
93
|
+
applicationCode?: string;
|
|
94
|
+
productIds?: string[];
|
|
95
|
+
};
|
|
96
|
+
export type DeleteProductsResponse = {
|
|
97
|
+
deleted: number;
|
|
98
|
+
};
|
|
99
|
+
export type DeleteAllProductsRequest = {
|
|
100
|
+
/** Pushwoosh application code (XXXXX-XXXXX). */
|
|
101
|
+
applicationCode?: string;
|
|
102
|
+
};
|
|
103
|
+
export type DeleteAllProductsResponse = {};
|
|
104
|
+
export type ListCategoriesRequest = {
|
|
105
|
+
/** Pushwoosh application code (XXXXX-XXXXX). */
|
|
106
|
+
applicationCode?: string;
|
|
107
|
+
};
|
|
108
|
+
export type ListCategoriesResponse = {
|
|
109
|
+
categories: string[];
|
|
110
|
+
};
|
|
111
|
+
/** Last merchant-feed sync outcome; empty status means the feed never synced. */
|
|
112
|
+
export type FeedState = {
|
|
113
|
+
/** One of: syncing, ok, error. */
|
|
114
|
+
status: string;
|
|
115
|
+
startedAt: Date;
|
|
116
|
+
finishedAt: Date;
|
|
117
|
+
itemsUpserted: number;
|
|
118
|
+
/** Products that disappeared from the feed and were removed. */
|
|
119
|
+
itemsDeleted: number;
|
|
120
|
+
/** Feed entries without the required id+title. */
|
|
121
|
+
itemsSkipped: number;
|
|
122
|
+
/** The feed answered 304 Not Modified — catalog left as is. */
|
|
123
|
+
notModified: boolean;
|
|
124
|
+
error: string;
|
|
125
|
+
};
|
|
126
|
+
export type GetFeedRequest = {
|
|
127
|
+
/** Pushwoosh application code (XXXXX-XXXXX). */
|
|
128
|
+
applicationCode?: string;
|
|
129
|
+
};
|
|
130
|
+
export type GetFeedResponse = {
|
|
131
|
+
/** Empty when no feed is connected. */
|
|
132
|
+
url: string;
|
|
133
|
+
state: FeedState;
|
|
134
|
+
};
|
|
135
|
+
export type SetFeedRequest = {
|
|
136
|
+
/** Pushwoosh application code (XXXXX-XXXXX). */
|
|
137
|
+
applicationCode?: string;
|
|
138
|
+
/** http(s) URL of a JSON or Google Merchant XML feed. */
|
|
139
|
+
url?: string;
|
|
140
|
+
};
|
|
141
|
+
export type SetFeedResponse = {};
|
|
142
|
+
export type DeleteFeedRequest = {
|
|
143
|
+
/** Pushwoosh application code (XXXXX-XXXXX). */
|
|
144
|
+
applicationCode?: string;
|
|
145
|
+
};
|
|
146
|
+
export type DeleteFeedResponse = {};
|
|
147
|
+
export type SyncFeedRequest = {
|
|
148
|
+
/** Pushwoosh application code (XXXXX-XXXXX). */
|
|
149
|
+
applicationCode?: string;
|
|
150
|
+
};
|
|
151
|
+
export type SyncFeedResponse = {
|
|
152
|
+
/** False when a sync was already running (the running one continues). */
|
|
153
|
+
started: boolean;
|
|
154
|
+
};
|
package/catalog.js
ADDED
package/data.js
CHANGED
|
@@ -4860,6 +4860,332 @@ export const data = {
|
|
|
4860
4860
|
"type": "I",
|
|
4861
4861
|
"fields": {}
|
|
4862
4862
|
},
|
|
4863
|
+
"pushwoosh.rpc_v2.catalog.CatalogService": {
|
|
4864
|
+
"type": "S",
|
|
4865
|
+
"key": "catalog",
|
|
4866
|
+
"methods": {
|
|
4867
|
+
"ListProducts": {
|
|
4868
|
+
"request": "pushwoosh.rpc_v2.catalog.ListProductsRequest",
|
|
4869
|
+
"response": "pushwoosh.rpc_v2.catalog.ListProductsResponse",
|
|
4870
|
+
"method": "get",
|
|
4871
|
+
"path": "/api/catalog/products"
|
|
4872
|
+
},
|
|
4873
|
+
"GetProducts": {
|
|
4874
|
+
"request": "pushwoosh.rpc_v2.catalog.GetProductsRequest",
|
|
4875
|
+
"response": "pushwoosh.rpc_v2.catalog.GetProductsResponse",
|
|
4876
|
+
"method": "post",
|
|
4877
|
+
"path": "/api/catalog/products:get"
|
|
4878
|
+
},
|
|
4879
|
+
"UpsertProducts": {
|
|
4880
|
+
"request": "pushwoosh.rpc_v2.catalog.UpsertProductsRequest",
|
|
4881
|
+
"response": "pushwoosh.rpc_v2.catalog.UpsertProductsResponse",
|
|
4882
|
+
"method": "post",
|
|
4883
|
+
"path": "/api/catalog/products"
|
|
4884
|
+
},
|
|
4885
|
+
"DeleteProducts": {
|
|
4886
|
+
"request": "pushwoosh.rpc_v2.catalog.DeleteProductsRequest",
|
|
4887
|
+
"response": "pushwoosh.rpc_v2.catalog.DeleteProductsResponse",
|
|
4888
|
+
"method": "post",
|
|
4889
|
+
"path": "/api/catalog/products:delete"
|
|
4890
|
+
},
|
|
4891
|
+
"DeleteAllProducts": {
|
|
4892
|
+
"request": "pushwoosh.rpc_v2.catalog.DeleteAllProductsRequest",
|
|
4893
|
+
"response": "pushwoosh.rpc_v2.catalog.DeleteAllProductsResponse",
|
|
4894
|
+
"method": "post",
|
|
4895
|
+
"path": "/api/catalog/products:delete-all"
|
|
4896
|
+
},
|
|
4897
|
+
"ListCategories": {
|
|
4898
|
+
"request": "pushwoosh.rpc_v2.catalog.ListCategoriesRequest",
|
|
4899
|
+
"response": "pushwoosh.rpc_v2.catalog.ListCategoriesResponse",
|
|
4900
|
+
"method": "get",
|
|
4901
|
+
"path": "/api/catalog/categories"
|
|
4902
|
+
},
|
|
4903
|
+
"GetFeed": {
|
|
4904
|
+
"request": "pushwoosh.rpc_v2.catalog.GetFeedRequest",
|
|
4905
|
+
"response": "pushwoosh.rpc_v2.catalog.GetFeedResponse",
|
|
4906
|
+
"method": "get",
|
|
4907
|
+
"path": "/api/catalog/feed"
|
|
4908
|
+
},
|
|
4909
|
+
"SetFeed": {
|
|
4910
|
+
"request": "pushwoosh.rpc_v2.catalog.SetFeedRequest",
|
|
4911
|
+
"response": "pushwoosh.rpc_v2.catalog.SetFeedResponse",
|
|
4912
|
+
"method": "post",
|
|
4913
|
+
"path": "/api/catalog/feed"
|
|
4914
|
+
},
|
|
4915
|
+
"DeleteFeed": {
|
|
4916
|
+
"request": "pushwoosh.rpc_v2.catalog.DeleteFeedRequest",
|
|
4917
|
+
"response": "pushwoosh.rpc_v2.catalog.DeleteFeedResponse",
|
|
4918
|
+
"method": "post",
|
|
4919
|
+
"path": "/api/catalog/feed:delete"
|
|
4920
|
+
},
|
|
4921
|
+
"SyncFeed": {
|
|
4922
|
+
"request": "pushwoosh.rpc_v2.catalog.SyncFeedRequest",
|
|
4923
|
+
"response": "pushwoosh.rpc_v2.catalog.SyncFeedResponse",
|
|
4924
|
+
"method": "post",
|
|
4925
|
+
"path": "/api/catalog/feed:sync"
|
|
4926
|
+
}
|
|
4927
|
+
}
|
|
4928
|
+
},
|
|
4929
|
+
"pushwoosh.rpc_v2.catalog.Product": {
|
|
4930
|
+
"type": "I",
|
|
4931
|
+
"fields": {
|
|
4932
|
+
"id": {
|
|
4933
|
+
"type": "string"
|
|
4934
|
+
},
|
|
4935
|
+
"title": {
|
|
4936
|
+
"type": "string"
|
|
4937
|
+
},
|
|
4938
|
+
"description": {
|
|
4939
|
+
"type": "string"
|
|
4940
|
+
},
|
|
4941
|
+
"imageUrl": {
|
|
4942
|
+
"type": "string"
|
|
4943
|
+
},
|
|
4944
|
+
"url": {
|
|
4945
|
+
"type": "string"
|
|
4946
|
+
},
|
|
4947
|
+
"price": {
|
|
4948
|
+
"type": "number"
|
|
4949
|
+
},
|
|
4950
|
+
"category": {
|
|
4951
|
+
"type": "string"
|
|
4952
|
+
},
|
|
4953
|
+
"sku": {
|
|
4954
|
+
"type": "string"
|
|
4955
|
+
},
|
|
4956
|
+
"currentStock": {
|
|
4957
|
+
"type": "number"
|
|
4958
|
+
},
|
|
4959
|
+
"currency": {
|
|
4960
|
+
"type": "string"
|
|
4961
|
+
},
|
|
4962
|
+
"salePrice": {
|
|
4963
|
+
"type": "number"
|
|
4964
|
+
}
|
|
4965
|
+
}
|
|
4966
|
+
},
|
|
4967
|
+
"pushwoosh.rpc_v2.catalog.ListProductsRequest": {
|
|
4968
|
+
"type": "I",
|
|
4969
|
+
"fields": {
|
|
4970
|
+
"applicationCode": {
|
|
4971
|
+
"type": "string"
|
|
4972
|
+
},
|
|
4973
|
+
"search": {
|
|
4974
|
+
"type": "string"
|
|
4975
|
+
},
|
|
4976
|
+
"category": {
|
|
4977
|
+
"type": "string"
|
|
4978
|
+
},
|
|
4979
|
+
"sortBy": {
|
|
4980
|
+
"type": "string"
|
|
4981
|
+
},
|
|
4982
|
+
"sortDesc": {
|
|
4983
|
+
"type": "boolean"
|
|
4984
|
+
},
|
|
4985
|
+
"page": {
|
|
4986
|
+
"type": "number"
|
|
4987
|
+
},
|
|
4988
|
+
"pageSize": {
|
|
4989
|
+
"type": "number"
|
|
4990
|
+
}
|
|
4991
|
+
}
|
|
4992
|
+
},
|
|
4993
|
+
"pushwoosh.rpc_v2.catalog.ListProductsResponse": {
|
|
4994
|
+
"type": "I",
|
|
4995
|
+
"fields": {
|
|
4996
|
+
"products": {
|
|
4997
|
+
"type": "pushwoosh.rpc_v2.catalog.Product",
|
|
4998
|
+
"array": true
|
|
4999
|
+
},
|
|
5000
|
+
"total": {
|
|
5001
|
+
"type": "number"
|
|
5002
|
+
}
|
|
5003
|
+
}
|
|
5004
|
+
},
|
|
5005
|
+
"pushwoosh.rpc_v2.catalog.GetProductsRequest": {
|
|
5006
|
+
"type": "I",
|
|
5007
|
+
"fields": {
|
|
5008
|
+
"applicationCode": {
|
|
5009
|
+
"type": "string"
|
|
5010
|
+
},
|
|
5011
|
+
"productIds": {
|
|
5012
|
+
"type": "string",
|
|
5013
|
+
"array": true
|
|
5014
|
+
}
|
|
5015
|
+
}
|
|
5016
|
+
},
|
|
5017
|
+
"pushwoosh.rpc_v2.catalog.GetProductsResponse": {
|
|
5018
|
+
"type": "I",
|
|
5019
|
+
"fields": {
|
|
5020
|
+
"products": {
|
|
5021
|
+
"type": "pushwoosh.rpc_v2.catalog.Product",
|
|
5022
|
+
"array": true
|
|
5023
|
+
}
|
|
5024
|
+
}
|
|
5025
|
+
},
|
|
5026
|
+
"pushwoosh.rpc_v2.catalog.UpsertProductsRequest": {
|
|
5027
|
+
"type": "I",
|
|
5028
|
+
"fields": {
|
|
5029
|
+
"applicationCode": {
|
|
5030
|
+
"type": "string"
|
|
5031
|
+
},
|
|
5032
|
+
"products": {
|
|
5033
|
+
"type": "pushwoosh.rpc_v2.catalog.Product",
|
|
5034
|
+
"array": true
|
|
5035
|
+
}
|
|
5036
|
+
}
|
|
5037
|
+
},
|
|
5038
|
+
"pushwoosh.rpc_v2.catalog.UpsertProductsResponse": {
|
|
5039
|
+
"type": "I",
|
|
5040
|
+
"fields": {
|
|
5041
|
+
"inserted": {
|
|
5042
|
+
"type": "number"
|
|
5043
|
+
},
|
|
5044
|
+
"updated": {
|
|
5045
|
+
"type": "number"
|
|
5046
|
+
}
|
|
5047
|
+
}
|
|
5048
|
+
},
|
|
5049
|
+
"pushwoosh.rpc_v2.catalog.DeleteProductsRequest": {
|
|
5050
|
+
"type": "I",
|
|
5051
|
+
"fields": {
|
|
5052
|
+
"applicationCode": {
|
|
5053
|
+
"type": "string"
|
|
5054
|
+
},
|
|
5055
|
+
"productIds": {
|
|
5056
|
+
"type": "string",
|
|
5057
|
+
"array": true
|
|
5058
|
+
}
|
|
5059
|
+
}
|
|
5060
|
+
},
|
|
5061
|
+
"pushwoosh.rpc_v2.catalog.DeleteProductsResponse": {
|
|
5062
|
+
"type": "I",
|
|
5063
|
+
"fields": {
|
|
5064
|
+
"deleted": {
|
|
5065
|
+
"type": "number"
|
|
5066
|
+
}
|
|
5067
|
+
}
|
|
5068
|
+
},
|
|
5069
|
+
"pushwoosh.rpc_v2.catalog.DeleteAllProductsRequest": {
|
|
5070
|
+
"type": "I",
|
|
5071
|
+
"fields": {
|
|
5072
|
+
"applicationCode": {
|
|
5073
|
+
"type": "string"
|
|
5074
|
+
}
|
|
5075
|
+
}
|
|
5076
|
+
},
|
|
5077
|
+
"pushwoosh.rpc_v2.catalog.DeleteAllProductsResponse": {
|
|
5078
|
+
"type": "I",
|
|
5079
|
+
"fields": {}
|
|
5080
|
+
},
|
|
5081
|
+
"pushwoosh.rpc_v2.catalog.ListCategoriesRequest": {
|
|
5082
|
+
"type": "I",
|
|
5083
|
+
"fields": {
|
|
5084
|
+
"applicationCode": {
|
|
5085
|
+
"type": "string"
|
|
5086
|
+
}
|
|
5087
|
+
}
|
|
5088
|
+
},
|
|
5089
|
+
"pushwoosh.rpc_v2.catalog.ListCategoriesResponse": {
|
|
5090
|
+
"type": "I",
|
|
5091
|
+
"fields": {
|
|
5092
|
+
"categories": {
|
|
5093
|
+
"type": "string",
|
|
5094
|
+
"array": true
|
|
5095
|
+
}
|
|
5096
|
+
}
|
|
5097
|
+
},
|
|
5098
|
+
"pushwoosh.rpc_v2.catalog.FeedState": {
|
|
5099
|
+
"type": "I",
|
|
5100
|
+
"fields": {
|
|
5101
|
+
"status": {
|
|
5102
|
+
"type": "string"
|
|
5103
|
+
},
|
|
5104
|
+
"startedAt": {
|
|
5105
|
+
"type": "Date"
|
|
5106
|
+
},
|
|
5107
|
+
"finishedAt": {
|
|
5108
|
+
"type": "Date"
|
|
5109
|
+
},
|
|
5110
|
+
"itemsUpserted": {
|
|
5111
|
+
"type": "number"
|
|
5112
|
+
},
|
|
5113
|
+
"itemsDeleted": {
|
|
5114
|
+
"type": "number"
|
|
5115
|
+
},
|
|
5116
|
+
"itemsSkipped": {
|
|
5117
|
+
"type": "number"
|
|
5118
|
+
},
|
|
5119
|
+
"notModified": {
|
|
5120
|
+
"type": "boolean"
|
|
5121
|
+
},
|
|
5122
|
+
"error": {
|
|
5123
|
+
"type": "string"
|
|
5124
|
+
}
|
|
5125
|
+
}
|
|
5126
|
+
},
|
|
5127
|
+
"pushwoosh.rpc_v2.catalog.GetFeedRequest": {
|
|
5128
|
+
"type": "I",
|
|
5129
|
+
"fields": {
|
|
5130
|
+
"applicationCode": {
|
|
5131
|
+
"type": "string"
|
|
5132
|
+
}
|
|
5133
|
+
}
|
|
5134
|
+
},
|
|
5135
|
+
"pushwoosh.rpc_v2.catalog.GetFeedResponse": {
|
|
5136
|
+
"type": "I",
|
|
5137
|
+
"fields": {
|
|
5138
|
+
"url": {
|
|
5139
|
+
"type": "string"
|
|
5140
|
+
},
|
|
5141
|
+
"state": {
|
|
5142
|
+
"type": "pushwoosh.rpc_v2.catalog.FeedState"
|
|
5143
|
+
}
|
|
5144
|
+
}
|
|
5145
|
+
},
|
|
5146
|
+
"pushwoosh.rpc_v2.catalog.SetFeedRequest": {
|
|
5147
|
+
"type": "I",
|
|
5148
|
+
"fields": {
|
|
5149
|
+
"applicationCode": {
|
|
5150
|
+
"type": "string"
|
|
5151
|
+
},
|
|
5152
|
+
"url": {
|
|
5153
|
+
"type": "string"
|
|
5154
|
+
}
|
|
5155
|
+
}
|
|
5156
|
+
},
|
|
5157
|
+
"pushwoosh.rpc_v2.catalog.SetFeedResponse": {
|
|
5158
|
+
"type": "I",
|
|
5159
|
+
"fields": {}
|
|
5160
|
+
},
|
|
5161
|
+
"pushwoosh.rpc_v2.catalog.DeleteFeedRequest": {
|
|
5162
|
+
"type": "I",
|
|
5163
|
+
"fields": {
|
|
5164
|
+
"applicationCode": {
|
|
5165
|
+
"type": "string"
|
|
5166
|
+
}
|
|
5167
|
+
}
|
|
5168
|
+
},
|
|
5169
|
+
"pushwoosh.rpc_v2.catalog.DeleteFeedResponse": {
|
|
5170
|
+
"type": "I",
|
|
5171
|
+
"fields": {}
|
|
5172
|
+
},
|
|
5173
|
+
"pushwoosh.rpc_v2.catalog.SyncFeedRequest": {
|
|
5174
|
+
"type": "I",
|
|
5175
|
+
"fields": {
|
|
5176
|
+
"applicationCode": {
|
|
5177
|
+
"type": "string"
|
|
5178
|
+
}
|
|
5179
|
+
}
|
|
5180
|
+
},
|
|
5181
|
+
"pushwoosh.rpc_v2.catalog.SyncFeedResponse": {
|
|
5182
|
+
"type": "I",
|
|
5183
|
+
"fields": {
|
|
5184
|
+
"started": {
|
|
5185
|
+
"type": "boolean"
|
|
5186
|
+
}
|
|
5187
|
+
}
|
|
5188
|
+
},
|
|
4863
5189
|
"pushwoosh.rpc_v2.categories.CategoriesService": {
|
|
4864
5190
|
"type": "S",
|
|
4865
5191
|
"key": "categories",
|
package/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { ApplicationsGroupsService as pushwoosh_rpc_v2_applications_groups_Appli
|
|
|
15
15
|
import { ApplicationsInfoService as pushwoosh_rpc_v2_applications_info_ApplicationsInfoService } from './applications_info';
|
|
16
16
|
import { ApplicationsStatisticsService as pushwoosh_rpc_v2_applications_statistics_ApplicationsStatisticsService } from './applications_statistics';
|
|
17
17
|
import { CampaignsService as pushwoosh_rpc_v2_campaigns_CampaignsService } from './campaigns';
|
|
18
|
+
import { CatalogService as pushwoosh_rpc_v2_catalog_CatalogService } from './catalog';
|
|
18
19
|
import { CategoriesService as pushwoosh_rpc_v2_categories_CategoriesService } from './categories';
|
|
19
20
|
import { MessagingService as pushwoosh_channels_messagingApi_v2_MessagingService } from './pushwoosh_channels_messagingApi_v2';
|
|
20
21
|
import { CloudPagesService as pushwoosh_rpc_v2_cloud_pages_CloudPagesService } from './cloud_pages';
|
|
@@ -81,6 +82,7 @@ export type API = {
|
|
|
81
82
|
applicationsInfo: pushwoosh_rpc_v2_applications_info_ApplicationsInfoService;
|
|
82
83
|
applicationsStatistics: pushwoosh_rpc_v2_applications_statistics_ApplicationsStatisticsService;
|
|
83
84
|
campaigns: pushwoosh_rpc_v2_campaigns_CampaignsService;
|
|
85
|
+
catalog: pushwoosh_rpc_v2_catalog_CatalogService;
|
|
84
86
|
categories: pushwoosh_rpc_v2_categories_CategoriesService;
|
|
85
87
|
messaging: pushwoosh_channels_messagingApi_v2_MessagingService;
|
|
86
88
|
cloudPages: pushwoosh_rpc_v2_cloud_pages_CloudPagesService;
|