@ikas/api-client 1.0.13-alpha.0 → 1.0.13-alpha.10

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.
@@ -1,5 +1,5 @@
1
1
  import { ikasAdminGraphQLAPIClient } from '../admin-client';
2
- import { Query, QuerygetImageUploadUrlArgs, QuerygetImportJobDataArgs, QuerygetVideoUploadUrlArgs, QuerylistCategoryArgs, QuerylistCityArgs, QuerylistCountryArgs, QuerylistCustomerArgs, QuerylistDistrictArgs, QuerylistLanguageArgs, QuerylistMerchantAppPaymentArgs, QuerylistOrderArgs, QuerylistOrderTransactionsArgs, QuerylistPriceListArgs, QuerylistProductArgs, QuerylistProductAttributeArgs, QuerylistProductBrandArgs, QuerylistProductOptionSetArgs, QuerylistProductStockLocationArgs, QuerylistProductTagArgs, QuerylistSalesChannelArgs, QuerylistStateArgs, QuerylistStockLocationArgs, QuerylistStorefrontArgs, QuerylistStorefrontJSScriptArgs, QuerylistTownArgs, QuerylistVariantTypeArgs, QuerylistVendorArgs, QueryproductAttributeExportArgs, QuerysearchProductsArgs } from './';
2
+ import { Query, QuerygetImageUploadUrlArgs, QuerygetImportJobDataArgs, QuerygetVideoUploadUrlArgs, QuerylistBranchArgs, QuerylistCategoryArgs, QuerylistCityArgs, QuerylistCountryArgs, QuerylistCustomerArgs, QuerylistDistrictArgs, QuerylistLanguageArgs, QuerylistMerchantAppPaymentArgs, QuerylistOrderArgs, QuerylistOrderTagArgs, QuerylistOrderTransactionsArgs, QuerylistPriceListArgs, QuerylistProductArgs, QuerylistProductAttributeArgs, QuerylistProductBrandArgs, QuerylistProductOptionSetArgs, QuerylistProductStockLocationArgs, QuerylistProductTagArgs, QuerylistProductUnitArgs, QuerylistSalesChannelArgs, QuerylistStateArgs, QuerylistStockLocationArgs, QuerylistStorefrontArgs, QuerylistStorefrontJSScriptArgs, QuerylistTerminalArgs, QuerylistTownArgs, QuerylistVariantTypeArgs, QuerylistVendorArgs, QueryproductAttributeExportArgs, QuerysearchProductsArgs, QueryvariantAttributeExportArgs } from './';
3
3
  import { APIResult, QueryOptions } from '../../base';
4
4
  declare type Queries = {
5
5
  [p in keyof Omit<Query, '__typename'>]: (options: QueryOptions<any>) => Promise<APIResult<Partial<Query[p]>>>;
@@ -8,12 +8,14 @@ export declare class AdminQuery implements Queries {
8
8
  client: ikasAdminGraphQLAPIClient<any>;
9
9
  constructor(client: ikasAdminGraphQLAPIClient<any>);
10
10
  getAuthorizedApp(options: QueryOptions<undefined>): Promise<APIResult<Partial<Query['getAuthorizedApp']>>>;
11
+ getGlobalTaxSettings(options: QueryOptions<undefined>): Promise<APIResult<Partial<Query['getGlobalTaxSettings']>>>;
11
12
  getImageUploadUrl(options: QueryOptions<QuerygetImageUploadUrlArgs>): Promise<APIResult<Partial<Query['getImageUploadUrl']>>>;
12
13
  getImportJobData(options: QueryOptions<QuerygetImportJobDataArgs>): Promise<APIResult<Partial<Query['getImportJobData']>>>;
13
14
  getMerchant(options: QueryOptions<undefined>): Promise<APIResult<Partial<Query['getMerchant']>>>;
14
15
  getMerchantLicence(options: QueryOptions<undefined>): Promise<APIResult<Partial<Query['getMerchantLicence']>>>;
15
16
  getSalesChannel(options: QueryOptions<undefined>): Promise<APIResult<Partial<Query['getSalesChannel']>>>;
16
17
  getVideoUploadUrl(options: QueryOptions<QuerygetVideoUploadUrlArgs>): Promise<APIResult<Partial<Query['getVideoUploadUrl']>>>;
18
+ listBranch(options: QueryOptions<QuerylistBranchArgs>): Promise<APIResult<Partial<Query['listBranch']>>>;
17
19
  listCategory(options: QueryOptions<QuerylistCategoryArgs>): Promise<APIResult<Partial<Query['listCategory']>>>;
18
20
  listCity(options: QueryOptions<QuerylistCityArgs>): Promise<APIResult<Partial<Query['listCity']>>>;
19
21
  listCountry(options: QueryOptions<QuerylistCountryArgs>): Promise<APIResult<Partial<Query['listCountry']>>>;
@@ -22,6 +24,7 @@ export declare class AdminQuery implements Queries {
22
24
  listLanguage(options: QueryOptions<QuerylistLanguageArgs>): Promise<APIResult<Partial<Query['listLanguage']>>>;
23
25
  listMerchantAppPayment(options: QueryOptions<QuerylistMerchantAppPaymentArgs>): Promise<APIResult<Partial<Query['listMerchantAppPayment']>>>;
24
26
  listOrder(options: QueryOptions<QuerylistOrderArgs>): Promise<APIResult<Partial<Query['listOrder']>>>;
27
+ listOrderTag(options: QueryOptions<QuerylistOrderTagArgs>): Promise<APIResult<Partial<Query['listOrderTag']>>>;
25
28
  listOrderTransactions(options: QueryOptions<QuerylistOrderTransactionsArgs>): Promise<APIResult<Partial<Query['listOrderTransactions']>>>;
26
29
  listPriceList(options: QueryOptions<QuerylistPriceListArgs>): Promise<APIResult<Partial<Query['listPriceList']>>>;
27
30
  listProduct(options: QueryOptions<QuerylistProductArgs>): Promise<APIResult<Partial<Query['listProduct']>>>;
@@ -30,11 +33,13 @@ export declare class AdminQuery implements Queries {
30
33
  listProductOptionSet(options: QueryOptions<QuerylistProductOptionSetArgs>): Promise<APIResult<Partial<Query['listProductOptionSet']>>>;
31
34
  listProductStockLocation(options: QueryOptions<QuerylistProductStockLocationArgs>): Promise<APIResult<Partial<Query['listProductStockLocation']>>>;
32
35
  listProductTag(options: QueryOptions<QuerylistProductTagArgs>): Promise<APIResult<Partial<Query['listProductTag']>>>;
36
+ listProductUnit(options: QueryOptions<QuerylistProductUnitArgs>): Promise<APIResult<Partial<Query['listProductUnit']>>>;
33
37
  listSalesChannel(options: QueryOptions<QuerylistSalesChannelArgs>): Promise<APIResult<Partial<Query['listSalesChannel']>>>;
34
38
  listState(options: QueryOptions<QuerylistStateArgs>): Promise<APIResult<Partial<Query['listState']>>>;
35
39
  listStockLocation(options: QueryOptions<QuerylistStockLocationArgs>): Promise<APIResult<Partial<Query['listStockLocation']>>>;
36
40
  listStorefront(options: QueryOptions<QuerylistStorefrontArgs>): Promise<APIResult<Partial<Query['listStorefront']>>>;
37
41
  listStorefrontJSScript(options: QueryOptions<QuerylistStorefrontJSScriptArgs>): Promise<APIResult<Partial<Query['listStorefrontJSScript']>>>;
42
+ listTerminal(options: QueryOptions<QuerylistTerminalArgs>): Promise<APIResult<Partial<Query['listTerminal']>>>;
38
43
  listTown(options: QueryOptions<QuerylistTownArgs>): Promise<APIResult<Partial<Query['listTown']>>>;
39
44
  listVariantType(options: QueryOptions<QuerylistVariantTypeArgs>): Promise<APIResult<Partial<Query['listVariantType']>>>;
40
45
  listVendor(options: QueryOptions<QuerylistVendorArgs>): Promise<APIResult<Partial<Query['listVendor']>>>;
@@ -42,5 +47,6 @@ export declare class AdminQuery implements Queries {
42
47
  me(options: QueryOptions<undefined>): Promise<APIResult<Partial<Query['me']>>>;
43
48
  productAttributeExport(options: QueryOptions<QueryproductAttributeExportArgs>): Promise<APIResult<Partial<Query['productAttributeExport']>>>;
44
49
  searchProducts(options: QueryOptions<QuerysearchProductsArgs>): Promise<APIResult<Partial<Query['searchProducts']>>>;
50
+ variantAttributeExport(options: QueryOptions<QueryvariantAttributeExportArgs>): Promise<APIResult<Partial<Query['variantAttributeExport']>>>;
45
51
  }
46
52
  export {};
@@ -59,6 +59,13 @@ var AdminQuery = /** @class */ (function () {
59
59
  });
60
60
  });
61
61
  };
62
+ AdminQuery.prototype.getGlobalTaxSettings = function (options) {
63
+ return __awaiter(this, void 0, void 0, function () {
64
+ return __generator(this, function (_a) {
65
+ return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'getGlobalTaxSettings' }))];
66
+ });
67
+ });
68
+ };
62
69
  AdminQuery.prototype.getImageUploadUrl = function (options) {
63
70
  return __awaiter(this, void 0, void 0, function () {
64
71
  return __generator(this, function (_a) {
@@ -101,6 +108,13 @@ var AdminQuery = /** @class */ (function () {
101
108
  });
102
109
  });
103
110
  };
111
+ AdminQuery.prototype.listBranch = function (options) {
112
+ return __awaiter(this, void 0, void 0, function () {
113
+ return __generator(this, function (_a) {
114
+ return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listBranch' }))];
115
+ });
116
+ });
117
+ };
104
118
  AdminQuery.prototype.listCategory = function (options) {
105
119
  return __awaiter(this, void 0, void 0, function () {
106
120
  return __generator(this, function (_a) {
@@ -157,6 +171,13 @@ var AdminQuery = /** @class */ (function () {
157
171
  });
158
172
  });
159
173
  };
174
+ AdminQuery.prototype.listOrderTag = function (options) {
175
+ return __awaiter(this, void 0, void 0, function () {
176
+ return __generator(this, function (_a) {
177
+ return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listOrderTag' }))];
178
+ });
179
+ });
180
+ };
160
181
  AdminQuery.prototype.listOrderTransactions = function (options) {
161
182
  return __awaiter(this, void 0, void 0, function () {
162
183
  return __generator(this, function (_a) {
@@ -213,6 +234,13 @@ var AdminQuery = /** @class */ (function () {
213
234
  });
214
235
  });
215
236
  };
237
+ AdminQuery.prototype.listProductUnit = function (options) {
238
+ return __awaiter(this, void 0, void 0, function () {
239
+ return __generator(this, function (_a) {
240
+ return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listProductUnit' }))];
241
+ });
242
+ });
243
+ };
216
244
  AdminQuery.prototype.listSalesChannel = function (options) {
217
245
  return __awaiter(this, void 0, void 0, function () {
218
246
  return __generator(this, function (_a) {
@@ -248,6 +276,13 @@ var AdminQuery = /** @class */ (function () {
248
276
  });
249
277
  });
250
278
  };
279
+ AdminQuery.prototype.listTerminal = function (options) {
280
+ return __awaiter(this, void 0, void 0, function () {
281
+ return __generator(this, function (_a) {
282
+ return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'listTerminal' }))];
283
+ });
284
+ });
285
+ };
251
286
  AdminQuery.prototype.listTown = function (options) {
252
287
  return __awaiter(this, void 0, void 0, function () {
253
288
  return __generator(this, function (_a) {
@@ -297,6 +332,13 @@ var AdminQuery = /** @class */ (function () {
297
332
  });
298
333
  });
299
334
  };
335
+ AdminQuery.prototype.variantAttributeExport = function (options) {
336
+ return __awaiter(this, void 0, void 0, function () {
337
+ return __generator(this, function (_a) {
338
+ return [2 /*return*/, this.client.query(__assign(__assign({}, options), { operationName: 'variantAttributeExport' }))];
339
+ });
340
+ });
341
+ };
300
342
  return AdminQuery;
301
343
  }());
302
344
  exports.AdminQuery = AdminQuery;
@@ -1 +1 @@
1
- {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA;IAGE,oBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAEK,qCAAgB,GAAtB,UAAuB,OAAgC;;;gBACrD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAA0C,OAAO,KAAE,aAAa,EAAE,kBAAkB,IAAG,EAAC;;;KACjH;IAEK,sCAAiB,GAAvB,UAAwB,OAAiD;;;gBACvE,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAA2C,OAAO,KAAE,aAAa,EAAE,mBAAmB,IAAG,EAAC;;;KACnH;IAEK,qCAAgB,GAAtB,UAAuB,OAAgD;;;gBACrE,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAA0C,OAAO,KAAE,aAAa,EAAE,kBAAkB,IAAG,EAAC;;;KACjH;IAEK,gCAAW,GAAjB,UAAkB,OAAgC;;;gBAChD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAAqC,OAAO,KAAE,aAAa,EAAE,aAAa,IAAG,EAAC;;;KACvG;IAEK,uCAAkB,GAAxB,UAAyB,OAAgC;;;gBACvD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAA4C,OAAO,KAAE,aAAa,EAAE,oBAAoB,IAAG,EAAC;;;KACrH;IAEK,oCAAe,GAArB,UAAsB,OAAgC;;;gBACpD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAAyC,OAAO,KAAE,aAAa,EAAE,iBAAiB,IAAG,EAAC;;;KAC/G;IAEK,sCAAiB,GAAvB,UAAw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jF,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAAgD,OAAO,KAAE,aAAa,EAAE,wBAAwB,IAAG,EAAC;;;KAC7H;IAEK,mCAAc,GAApB,UAAqB,OAA8C;;;gBACjE,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAAwC,OAAO,KAAE,aAAa,EAAE,gBAAgB,IAAG,EAAC;;;KAC7G;IAEK,2CAAsB,GAA5B,UAA6B,OAAsD;;;gBACjF,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAAgD,OAAO,KAAE,aAAa,EAAE,wBAAwB,IAAG,EAAC;;;KAC7H;IACH,iBAAC;AAAD,CAAC,AA1KD,IA0KC;AA1KY,gCAAU"}
@@ -1,9 +1,10 @@
1
- import { Customer, MerchantAppPaymentStatusEnum, MerchantAppPaymentTypeEnum, MerchantAppSubscription, MerchantLicenceStatusEnum, Order, Product, ProductAttribute, ProductAttributeOption, ProductAttributeValue, ProductStockLocation, ProductVariantType, SimpleCategory, SimpleProductBrand, SimpleProductTag, Variant, VariantType } from '../../api';
1
+ import { Customer, MerchantAppPaymentStatusEnum, MerchantAppPaymentTypeEnum, MerchantAppSubscription, Order, Product, ProductAttribute, ProductAttributeOption, ProductAttributeValue, ProductStockLocation, ProductVariantType, SimpleCategory, SimpleProductBrand, SimpleProductTag, Variant, VariantType } from '../../api';
2
2
  export declare enum WebhookScope {
3
3
  ORDER_CREATED = "store/order/created",
4
4
  ORDER_UPDATED = "store/order/updated",
5
5
  PRODUCT_CREATED = "store/product/created",
6
6
  PRODUCT_UPDATED = "store/product/updated",
7
+ PRODUCT_DELETED = "store/product/deleted",
7
8
  CUSTOMER_CREATED = "store/customer/created",
8
9
  CUSTOMER_UPDATED = "store/customer/updated",
9
10
  CUSTOMER_FAVORITE_PRODUCTS_CREATED = "store/customerFavoriteProducts/created",
@@ -60,7 +61,7 @@ export declare type IWebhookStoreAppPaymentData = {
60
61
  licenceActivationDate?: Date | null;
61
62
  fromDate?: Date | null;
62
63
  toDate?: Date | null;
63
- status: MerchantLicenceStatusEnum;
64
+ status: string;
64
65
  statusUpdatedAt: Date | null;
65
66
  appSubscriptions?: MerchantAppSubscription[] | null;
66
67
  };
@@ -7,6 +7,7 @@ var WebhookScope;
7
7
  WebhookScope["ORDER_UPDATED"] = "store/order/updated";
8
8
  WebhookScope["PRODUCT_CREATED"] = "store/product/created";
9
9
  WebhookScope["PRODUCT_UPDATED"] = "store/product/updated";
10
+ WebhookScope["PRODUCT_DELETED"] = "store/product/deleted";
10
11
  WebhookScope["CUSTOMER_CREATED"] = "store/customer/created";
11
12
  WebhookScope["CUSTOMER_UPDATED"] = "store/customer/updated";
12
13
  WebhookScope["CUSTOMER_FAVORITE_PRODUCTS_CREATED"] = "store/customerFavoriteProducts/created";
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/webhook/models.ts"],"names":[],"mappings":";;;AAoBA,IAAY,YAaX;AAbD,WAAY,YAAY;IACtB,qDAAqC,CAAA;IACrC,qDAAqC,CAAA;IACrC,yDAAyC,CAAA;IACzC,yDAAyC,CAAA;IACzC,2DAA2C,CAAA;IAC3C,2DAA2C,CAAA;IAC3C,6FAA6E,CAAA;IAC7E,6FAA6E,CAAA;IAC7E,qDAAqC,CAAA;IACrC,qDAAqC,CAAA;IACrC,iDAAiC,CAAA;IACjC,iDAAiC,CAAA;AACnC,CAAC,EAbW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAavB"}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/webhook/models.ts"],"names":[],"mappings":";;;AAmBA,IAAY,YAcX;AAdD,WAAY,YAAY;IACtB,qDAAqC,CAAA;IACrC,qDAAqC,CAAA;IACrC,yDAAyC,CAAA;IACzC,yDAAyC,CAAA;IACzC,yDAAyC,CAAA;IACzC,2DAA2C,CAAA;IAC3C,2DAA2C,CAAA;IAC3C,6FAA6E,CAAA;IAC7E,6FAA6E,CAAA;IAC7E,qDAAqC,CAAA;IACrC,qDAAqC,CAAA;IACrC,iDAAiC,CAAA;IACjC,iDAAiC,CAAA;AACnC,CAAC,EAdW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAcvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/api-client",
3
- "version": "1.0.13-alpha.0",
3
+ "version": "1.0.13-alpha.10",
4
4
  "description": "ikas public node api client for store apps and private apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",