@longvansoftware/storefront-js-client 3.3.5 → 3.3.6

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.
@@ -239,11 +239,13 @@ exports.GET_PAYMENT_METHOD_TYPES_V2 = (0, graphql_tag_1.gql) `
239
239
  $partnerId: String!
240
240
  $storeId: String!
241
241
  $storeActive: StoreActive
242
+ $allMethodTypes: Boolean
242
243
  ) {
243
244
  getPaymentMethodTypes(
244
245
  partnerId: $partnerId
245
246
  storeId: $storeId
246
247
  storeActive: $storeActive
248
+ allMethodTypes: $allMethodTypes
247
249
  ) {
248
250
  code
249
251
  name
@@ -14,5 +14,5 @@ export declare class PaymentServiceV2 extends Service {
14
14
  handleCreateGatewayConfig(input: any, cassoApiKey: string): Promise<any>;
15
15
  handleUpdateGatewayConfig(input: any, cassoApiKey: string): Promise<any>;
16
16
  getPaymentGatewaysByMethodCode(methodCode: string): Promise<any>;
17
- getPaymentMethodTypesV2(storeActive: any): Promise<any>;
17
+ getPaymentMethodTypesV2(storeActive: any, allMethodTypes: boolean): Promise<any>;
18
18
  }
@@ -225,13 +225,14 @@ class PaymentServiceV2 extends serviceSDK_1.Service {
225
225
  }
226
226
  });
227
227
  }
228
- getPaymentMethodTypesV2(storeActive) {
228
+ getPaymentMethodTypesV2(storeActive, allMethodTypes) {
229
229
  return __awaiter(this, void 0, void 0, function* () {
230
230
  const queries = queries_1.GET_PAYMENT_METHOD_TYPES_V2;
231
231
  const variables = {
232
232
  partnerId: this.orgId,
233
233
  storeId: this.storeId,
234
- storeActive: storeActive
234
+ storeActive: storeActive,
235
+ allMethodTypes: allMethodTypes
235
236
  };
236
237
  try {
237
238
  const response = yield this.graphqlQueryV3(queries, variables);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "3.3.5",
3
+ "version": "3.3.6",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [