@plaidev/karte-action-sdk 1.1.229 → 1.1.230-28646468.175b835d
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.d.ts +17 -11
- package/dist/hydrate/index.es.js +223 -169
- package/dist/index.es.d.ts +17 -11
- package/dist/index.es.js +226 -172
- package/package.json +1 -1
- package/meta/karte-action-sdk.api.json +0 -6318
package/dist/index.es.d.ts
CHANGED
@@ -166,6 +166,7 @@ type SystemConfig = {
|
|
166
166
|
* API キー
|
167
167
|
*/
|
168
168
|
apiKey?: string;
|
169
|
+
collection_endpoint?: string;
|
169
170
|
/**
|
170
171
|
* 接客ID
|
171
172
|
*/
|
@@ -182,6 +183,8 @@ type ActionHookLog = {
|
|
182
183
|
*/
|
183
184
|
type ActionRunnerContext = {
|
184
185
|
api_key: string;
|
186
|
+
// TODO: edgejsのリリース状況によっては入ってこない可能性があるためoptionalにしているが、リリース完了後にrequiredに変更する
|
187
|
+
collection_endpoint?: string;
|
185
188
|
target?: "web" | "native";
|
186
189
|
};
|
187
190
|
type ActionTableResult = number | string | boolean | Date | null | undefined;
|
@@ -199,7 +202,7 @@ type ActionTableQueryParams = {
|
|
199
202
|
type CollectionConfig = {
|
200
203
|
api_key: string;
|
201
204
|
table: string;
|
202
|
-
|
205
|
+
collection_endpoint?: string;
|
203
206
|
};
|
204
207
|
/**
|
205
208
|
* アクションテーブルを管理するメソッドを取得する
|
@@ -262,19 +265,19 @@ type ActionTableRequestConfig = ActionTableRowRequestConfig | ActionTableRowsReq
|
|
262
265
|
/** @internal */
|
263
266
|
declare const loadActionTableRow: (config: ActionTableRowRequestConfig, data: {
|
264
267
|
[key: string]: any;
|
265
|
-
}, api_key: string,
|
268
|
+
}, api_key: string, collection_endpoint?: string) => Promise<unknown>;
|
266
269
|
/** @internal */
|
267
270
|
declare const loadActionTableRows: (config: ActionTableRowsRequestConfig, data: {
|
268
271
|
[key: string]: any;
|
269
|
-
}, api_key: string,
|
272
|
+
}, api_key: string, collection_endpoint?: string) => Promise<unknown>;
|
270
273
|
/** @internal */
|
271
274
|
declare const loadActionTableQuery: (config: ActionTableQueryRequestConfig, data: {
|
272
275
|
[key: string]: any;
|
273
|
-
}, api_key: string,
|
276
|
+
}, api_key: string, collection_endpoint?: string) => Promise<unknown>;
|
274
277
|
/** @internal */
|
275
278
|
declare const loadActionTable: (config: Array<VariableQuery>, data: {
|
276
279
|
[key: string]: any;
|
277
|
-
}, api_key: string,
|
280
|
+
}, api_key: string, collection_endpoint?: string) => Promise<{
|
278
281
|
[key: string]: any;
|
279
282
|
}>;
|
280
283
|
/**
|
@@ -1729,6 +1732,7 @@ declare namespace widget {
|
|
1729
1732
|
* API キー
|
1730
1733
|
*/
|
1731
1734
|
apiKey?: string;
|
1735
|
+
collection_endpoint?: string;
|
1732
1736
|
/**
|
1733
1737
|
* 接客ID
|
1734
1738
|
*/
|
@@ -1745,6 +1749,8 @@ declare namespace widget {
|
|
1745
1749
|
*/
|
1746
1750
|
type ActionRunnerContext = {
|
1747
1751
|
api_key: string;
|
1752
|
+
// TODO: edgejsのリリース状況によっては入ってこない可能性があるためoptionalにしているが、リリース完了後にrequiredに変更する
|
1753
|
+
collection_endpoint?: string;
|
1748
1754
|
target?: "web" | "native";
|
1749
1755
|
};
|
1750
1756
|
type ActionTableResult = number | string | boolean | Date | null | undefined;
|
@@ -1762,7 +1768,7 @@ declare namespace widget {
|
|
1762
1768
|
type CollectionConfig = {
|
1763
1769
|
api_key: string;
|
1764
1770
|
table: string;
|
1765
|
-
|
1771
|
+
collection_endpoint?: string;
|
1766
1772
|
};
|
1767
1773
|
/**
|
1768
1774
|
* アクションテーブルを管理するメソッドを取得する
|
@@ -1825,25 +1831,25 @@ declare namespace widget {
|
|
1825
1831
|
/** @internal */
|
1826
1832
|
const loadActionTableRow: (config: ActionTableRowRequestConfig, data: {
|
1827
1833
|
[key: string]: any;
|
1828
|
-
}, api_key: string,
|
1834
|
+
}, api_key: string, collection_endpoint?: string) => Promise<unknown>;
|
1829
1835
|
/** @internal */
|
1830
1836
|
const loadActionTableRows: (config: ActionTableRowsRequestConfig, data: {
|
1831
1837
|
[key: string]: any;
|
1832
|
-
}, api_key: string,
|
1838
|
+
}, api_key: string, collection_endpoint?: string) => Promise<unknown>;
|
1833
1839
|
/** @internal */
|
1834
1840
|
const loadActionTableQuery: (config: ActionTableQueryRequestConfig, data: {
|
1835
1841
|
[key: string]: any;
|
1836
|
-
}, api_key: string,
|
1842
|
+
}, api_key: string, collection_endpoint?: string) => Promise<unknown>;
|
1837
1843
|
/** @internal */
|
1838
1844
|
const loadActionTable: (config: Array<VariableQuery>, data: {
|
1839
1845
|
[key: string]: any;
|
1840
|
-
}, api_key: string,
|
1846
|
+
}, api_key: string, collection_endpoint?: string) => Promise<{
|
1841
1847
|
[key: string]: any;
|
1842
1848
|
}>;
|
1843
1849
|
/** @internal */
|
1844
1850
|
function setupActionTable(localVariablesQuery: Array<VariableQuery>, data: {
|
1845
1851
|
[key: string]: any;
|
1846
|
-
}, apiKey: string): Promise<{
|
1852
|
+
}, apiKey: string, collection_endpoint: string): Promise<{
|
1847
1853
|
success: boolean;
|
1848
1854
|
}>;
|
1849
1855
|
/** @internal */
|