@adtrackify/at-service-common 1.0.43 → 1.0.45

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/.editorconfig CHANGED
@@ -1,12 +1,12 @@
1
- root = true
2
-
3
- [*]
4
- end_of_line = lf
5
- charset = utf-8
6
- trim_trailing_whitespace = true
7
- insert_final_newline = false
8
- indent_style = space
9
- indent_size = 2
10
-
11
- [*.{diff,md}]
12
- trim_trailing_whitespace = false
1
+ root = true
2
+
3
+ [*]
4
+ end_of_line = lf
5
+ charset = utf-8
6
+ trim_trailing_whitespace = true
7
+ insert_final_newline = false
8
+ indent_style = space
9
+ indent_size = 2
10
+
11
+ [*.{diff,md}]
12
+ trim_trailing_whitespace = false
package/dist/index.d.ts CHANGED
@@ -218,6 +218,7 @@ declare module '@adtrackify/at-service-common/clients/internal-api/index' {
218
218
  export * from '@adtrackify/at-service-common/clients/internal-api/destinations-client';
219
219
  export * from '@adtrackify/at-service-common/clients/internal-api/accounts-client';
220
220
  export * from '@adtrackify/at-service-common/clients/internal-api/users-auth-client';
221
+ export * from '@adtrackify/at-service-common/clients/internal-api/shopify-app-install-client';
221
222
 
222
223
  }
223
224
  declare module '@adtrackify/at-service-common/clients/internal-api/shopify-app-install-client' {
@@ -274,6 +275,7 @@ declare module '@adtrackify/at-service-common/clients/internal-api/shopify-app-i
274
275
  setBaseUrl: (url: string) => boolean;
275
276
  }>;
276
277
  updateShopifyAppInstall: (shopifyAppInstallId: string, updateShopifyAppInstallRequest: UpdateShopifyAppInstallRequest) => Promise<ApiResponse<ShopifyAppInstallResponseData>>;
278
+ getShopifyAppInstall: (shopifyAppInstallId: string) => Promise<ApiResponse<ShopifyAppInstallResponseData>>;
277
279
  }
278
280
 
279
281
  }
@@ -342,7 +344,9 @@ declare module '@adtrackify/at-service-common/clients/third-party/index' {
342
344
 
343
345
  }
344
346
  declare module '@adtrackify/at-service-common/clients/third-party/shopify-client' {
347
+ import Shopify from 'shopify-api-node';
345
348
  export class ShopifyClient {
349
+ static _shopify_api_version: string;
346
350
  static getConfig: (shopifyDomain: string, accessToken: string) => {
347
351
  baseURL: string;
348
352
  headers: {
@@ -400,6 +404,7 @@ declare module '@adtrackify/at-service-common/clients/third-party/shopify-client
400
404
  data: any;
401
405
  status: any;
402
406
  }>;
407
+ static appSubscriptionCreate: (shop: string, accessToken: string, planName: string, price: number, returnUrl: string, trialDays: number) => Promise<Shopify.IRecurringApplicationCharge>;
403
408
  static genericShopifyPost: (url: string, accessToken: string, payload: any) => Promise<{
404
409
  headers: any;
405
410
  data: any;