@adtrackify/at-service-common 1.0.28 → 1.0.30

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 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' {
@@ -187,10 +188,14 @@ declare module '@adtrackify/at-service-common/clients/internal-api/index' {
187
188
  export * from '@adtrackify/at-service-common/clients/internal-api/destinations-client';
188
189
  export * from '@adtrackify/at-service-common/clients/internal-api/accounts-client';
189
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
+
190
195
  }
191
196
  declare module '@adtrackify/at-service-common/clients/third-party/shopify-client' {
192
197
  export class ShopifyClient {
193
- getConfig: (shopifyDomain: string, accessToken: string) => {
198
+ static getConfig: (shopifyDomain: string, accessToken: string) => {
194
199
  baseURL: string;
195
200
  headers: {
196
201
  common: {
@@ -198,7 +203,7 @@ declare module '@adtrackify/at-service-common/clients/third-party/shopify-client
198
203
  };
199
204
  };
200
205
  };
201
- getClient: (shopifyDomain: string, accessToken: string) => {
206
+ static getClient: (shopifyDomain: string, accessToken: string) => {
202
207
  instance: () => import("axios").AxiosInstance;
203
208
  get: (url: string, config?: any) => Promise<{
204
209
  headers: any;
@@ -227,37 +232,37 @@ declare module '@adtrackify/at-service-common/clients/third-party/shopify-client
227
232
  }>;
228
233
  setBaseUrl: (url: string) => boolean;
229
234
  };
230
- registerApp: (shop: string, code: string, appKey: string, appSecret: string) => Promise<{
235
+ static registerApp: (shop: string, code: string, appKey: string, appSecret: string) => Promise<{
231
236
  headers: any;
232
237
  data: any;
233
238
  status: any;
234
239
  }>;
235
- registerWebhookTopic: (shop: string, accessToken: string, eventBridgeArn: string, topic: string) => Promise<{
240
+ static registerWebhookTopic: (shop: string, accessToken: string, eventBridgeArn: string, topic: string) => Promise<{
236
241
  headers: any;
237
242
  data: any;
238
243
  status: any;
239
244
  }>;
240
- updateShopifyAppMetafield: (shop: string, accessToken: string, pixelId: string) => Promise<{
245
+ static updateShopifyAppMetafield: (shop: string, accessToken: string, pixelId: string) => Promise<{
241
246
  headers: any;
242
247
  data: any;
243
248
  status: any;
244
249
  }>;
245
- getShopifyStoreProperties: (shop: string, accessToken: string) => Promise<{
250
+ static getShopifyStoreProperties: (shop: string, accessToken: string) => Promise<{
246
251
  headers: any;
247
252
  data: any;
248
253
  status: any;
249
254
  }>;
250
- genericShopifyPost: (url: string, accessToken: string, payload: any) => Promise<{
255
+ static genericShopifyPost: (url: string, accessToken: string, payload: any) => Promise<{
251
256
  headers: any;
252
257
  data: any;
253
258
  status: any;
254
259
  }>;
255
- genericShopifyGet: (url: string, accessToken: string) => Promise<{
260
+ static genericShopifyGet: (url: string, accessToken: string) => Promise<{
256
261
  headers: any;
257
262
  data: any;
258
263
  status: any;
259
264
  }>;
260
- genericShopifyPut: (url: string, accessToken: string, payload: any) => Promise<{
265
+ static genericShopifyPut: (url: string, accessToken: string, payload: any) => Promise<{
261
266
  headers: any;
262
267
  data: any;
263
268
  status: any;