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