@nomalism-com/api 0.49.26 → 0.49.28

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.cjs CHANGED
@@ -2262,9 +2262,37 @@ var Repository55 = class {
2262
2262
  );
2263
2263
  return response.data;
2264
2264
  }
2265
- async execute(data) {
2265
+ async columns(data) {
2266
2266
  const response = await this.api.post(
2267
- `${this.route}execute`,
2267
+ `${this.route}columns`,
2268
+ data
2269
+ );
2270
+ return response.data;
2271
+ }
2272
+ async applyUpdate(data) {
2273
+ const response = await this.api.post(
2274
+ `${this.route}apply_update`,
2275
+ data
2276
+ );
2277
+ return response.data;
2278
+ }
2279
+ async applyCreate(data) {
2280
+ const response = await this.api.post(
2281
+ `${this.route}apply_create`,
2282
+ data
2283
+ );
2284
+ return response.data;
2285
+ }
2286
+ async applyDeactivate(data) {
2287
+ const response = await this.api.post(
2288
+ `${this.route}apply_deactivate`,
2289
+ data
2290
+ );
2291
+ return response.data;
2292
+ }
2293
+ async history(data) {
2294
+ const response = await this.api.post(
2295
+ `${this.route}history`,
2268
2296
  data
2269
2297
  );
2270
2298
  return response.data;
package/dist/index.js CHANGED
@@ -2229,9 +2229,37 @@ var Repository55 = class {
2229
2229
  );
2230
2230
  return response.data;
2231
2231
  }
2232
- async execute(data) {
2232
+ async columns(data) {
2233
2233
  const response = await this.api.post(
2234
- `${this.route}execute`,
2234
+ `${this.route}columns`,
2235
+ data
2236
+ );
2237
+ return response.data;
2238
+ }
2239
+ async applyUpdate(data) {
2240
+ const response = await this.api.post(
2241
+ `${this.route}apply_update`,
2242
+ data
2243
+ );
2244
+ return response.data;
2245
+ }
2246
+ async applyCreate(data) {
2247
+ const response = await this.api.post(
2248
+ `${this.route}apply_create`,
2249
+ data
2250
+ );
2251
+ return response.data;
2252
+ }
2253
+ async applyDeactivate(data) {
2254
+ const response = await this.api.post(
2255
+ `${this.route}apply_deactivate`,
2256
+ data
2257
+ );
2258
+ return response.data;
2259
+ }
2260
+ async history(data) {
2261
+ const response = await this.api.post(
2262
+ `${this.route}history`,
2235
2263
  data
2236
2264
  );
2237
2265
  return response.data;
@@ -6,5 +6,9 @@ export default class Repository implements Nomalism.ProductUpdate.IRepository {
6
6
  constructor({ api, route }: IModuleConstructor);
7
7
  extract(data: Nomalism.ProductUpdate.IExtractRequest): Promise<Nomalism.ProductUpdate.IExtractResponse>;
8
8
  analyze(data: Nomalism.ProductUpdate.IAnalyzeRequest): Promise<Nomalism.ProductUpdate.IAnalyzeResponse>;
9
- execute(data: Nomalism.ProductUpdate.IExecuteRequest): Promise<Nomalism.ProductUpdate.IExecuteResponse>;
9
+ columns(data: Nomalism.ProductUpdate.IColumnsRequest): Promise<Nomalism.ProductUpdate.IColumnsResponse>;
10
+ applyUpdate(data: Nomalism.ProductUpdate.IApplyUpdateRequest): Promise<Nomalism.ProductUpdate.IApplyResponse>;
11
+ applyCreate(data: Nomalism.ProductUpdate.IApplyCreateRequest): Promise<Nomalism.ProductUpdate.IApplyResponse>;
12
+ applyDeactivate(data: Nomalism.ProductUpdate.IApplyDeactivateRequest): Promise<Nomalism.ProductUpdate.IApplyResponse>;
13
+ history(data: Nomalism.ProductUpdate.IHistoryRequest): Promise<Nomalism.ProductUpdate.IHistoryResponse>;
10
14
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/api",
3
3
  "description": "A nomalism API package for performing HTTP requests on API endpoints",
4
- "version": "0.49.26",
4
+ "version": "0.49.28",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  "prepare": "husky"
31
31
  },
32
32
  "dependencies": {
33
- "@nomalism-com/types": "^0.49.36",
33
+ "@nomalism-com/types": "^0.49.38",
34
34
  "axios": "^1.20.0"
35
35
  },
36
36
  "devDependencies": {