@adtrackify/at-service-common 1.0.27 → 1.0.29
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/dist/index.d.ts +8 -10
- package/dist/index.js +246 -150
- package/dist/index.js.map +4 -4
- package/package.json +2 -2
- package/src/clients/index.ts +2 -1
- package/src/clients/internal-api/accounts-client.ts +10 -7
- package/src/clients/third-party/index.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ declare module '@adtrackify/at-service-common/clients/generic/index' {
|
|
|
73
73
|
declare module '@adtrackify/at-service-common/clients/index' {
|
|
74
74
|
export * from '@adtrackify/at-service-common/clients/generic/index';
|
|
75
75
|
export * from '@adtrackify/at-service-common/clients/internal-api/index';
|
|
76
|
+
export * from '@adtrackify/at-service-common/clients/third-party/index';
|
|
76
77
|
|
|
77
78
|
}
|
|
78
79
|
declare module '@adtrackify/at-service-common/clients/internal-api/accounts-client' {
|
|
@@ -89,16 +90,9 @@ declare module '@adtrackify/at-service-common/clients/internal-api/accounts-clie
|
|
|
89
90
|
}
|
|
90
91
|
export class AccountsClient {
|
|
91
92
|
BASE_API_URL: string;
|
|
92
|
-
ACCOUNTS_API_KEY
|
|
93
|
-
constructor(baseApiUrl: string, accountsApiKey
|
|
94
|
-
getConfig: () =>
|
|
95
|
-
baseURL: string;
|
|
96
|
-
headers: {
|
|
97
|
-
common: {
|
|
98
|
-
'x-api-key': string;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
};
|
|
93
|
+
ACCOUNTS_API_KEY?: string;
|
|
94
|
+
constructor(baseApiUrl: string, accountsApiKey?: string);
|
|
95
|
+
getConfig: () => any;
|
|
102
96
|
getClient: () => Promise<{
|
|
103
97
|
instance: () => import("axios").AxiosInstance;
|
|
104
98
|
get: (url: string, config?: any) => Promise<{
|
|
@@ -194,6 +188,10 @@ declare module '@adtrackify/at-service-common/clients/internal-api/index' {
|
|
|
194
188
|
export * from '@adtrackify/at-service-common/clients/internal-api/destinations-client';
|
|
195
189
|
export * from '@adtrackify/at-service-common/clients/internal-api/accounts-client';
|
|
196
190
|
|
|
191
|
+
}
|
|
192
|
+
declare module '@adtrackify/at-service-common/clients/third-party/index' {
|
|
193
|
+
export * from '@adtrackify/at-service-common/clients/third-party/shopify-client';
|
|
194
|
+
|
|
197
195
|
}
|
|
198
196
|
declare module '@adtrackify/at-service-common/clients/third-party/shopify-client' {
|
|
199
197
|
export class ShopifyClient {
|