gap-nodejs-sdk 1.0.761 → 1.0.762

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.
@@ -11,5 +11,6 @@ export default class Other extends BaseOther implements OtherAbstractClass {
11
11
  static getIncomeHistory(data: Request.GetIncomeHistoryRequest): Promise<Array<Response.GetIncomeHistoryResponse>>;
12
12
  static getBusinessInfo(data: Request.GetBusinessInfoRequest): Promise<Response.GetBusinessInfoResponse>;
13
13
  static getCheckOutInfo(data: Request.GetCheckOutInfoRequest): Promise<Response.GetCheckOutInfoResponse>;
14
+ static updateCustomerPhone(data: Request.UpdateCustomerPhoneRequest): Promise<any>;
14
15
  }
15
16
  //# sourceMappingURL=other.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"other.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/api/other.ts"],"names":[],"mappings":"AAKA,OAAO,kBAAkB,MAAM,qBAAqB,CAAC;AACrD,OAAO,SAAS,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAGpD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAM9C,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,SAAU,YAAW,kBAAkB;IACtE,OAAc,WAAW,gBAAoB;WAEzB,aAAa,CAAC,IAAI,EAAE,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC;WAUzF,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,yBAAyB,GAAG,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAAC;WAU1G,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,0BAA0B,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;WAanH,gBAAgB,CAAC,IAAI,EAAE,OA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AAC,IAAI,EAAE,OAAO,CAAC,sBAAsB,GAAG,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAC;WAU5F,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,0BAA0B,GAAG,OAAO,CAAC,GAAG,CAAC;CAStG"}
@@ -69,5 +69,14 @@ export default class Other extends BaseOther {
69
69
  return Model.CheckOutInfoModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
70
70
  });
71
71
  }
72
+ static updateCustomerPhone(data) {
73
+ return __awaiter(this, void 0, void 0, function* () {
74
+ const response = yield this.client.post({
75
+ path: customer.UPDATE_CUSTOMER_PHONE,
76
+ data: data
77
+ });
78
+ return response.result.data;
79
+ });
80
+ }
72
81
  }
73
82
  Other.API_VERSION = GapApiVersion.V1;