repzo 1.0.233 → 1.0.235

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/lib/index.d.ts CHANGED
@@ -1181,5 +1181,6 @@ export default class Repzo {
1181
1181
  optionalBusinessAppService: {
1182
1182
  _path: "optional-business-app-service";
1183
1183
  find: () => Promise<Service.OptionalBusinessAppService.Find.Result>;
1184
+ create: () => Promise<Service.OptionalBusinessAppService.Create.Result>;
1184
1185
  };
1185
1186
  }
package/lib/index.js CHANGED
@@ -2428,6 +2428,10 @@ class Repzo {
2428
2428
  let res = await this._fetch(this.svAPIEndpoint, this.optionalBusinessAppService._path);
2429
2429
  return res;
2430
2430
  },
2431
+ create: async () => {
2432
+ let res = await this._create(this.svAPIEndpoint, this.optionalBusinessAppService._path, {});
2433
+ return res;
2434
+ },
2431
2435
  };
2432
2436
  this.svAPIEndpoint =
2433
2437
  !options?.env || options?.env == "production"
@@ -17562,18 +17562,26 @@ export declare namespace Service {
17562
17562
  export {};
17563
17563
  }
17564
17564
  namespace OptionalBusinessAppService {
17565
- type SERVICE_NAMES = "transfer" | "warehouse" | "fullinvoices" | "client" | "product" | "rep" | "tag" | "asset-part-unit" | "asset-part-receival" | "asset-part-transfer" | "return-asset-part-unit" | "store-asset-part-unit" | "clm-presentation";
17566
- export namespace Find {
17565
+ namespace Find {
17567
17566
  interface Result {
17568
17567
  code: string;
17569
17568
  services: {
17570
17569
  permission: StringId;
17571
- name: SERVICE_NAMES;
17570
+ name: string;
17572
17571
  default_teams_shared: "shared" | "unshared";
17573
17572
  }[];
17574
17573
  }
17575
17574
  }
17576
- export {};
17575
+ namespace Create {
17576
+ interface Result {
17577
+ code: string;
17578
+ services: {
17579
+ permission: StringId;
17580
+ name: string;
17581
+ teams_shared: "shared" | "unshared";
17582
+ }[];
17583
+ }
17584
+ }
17577
17585
  }
17578
17586
  }
17579
17587
  export type StringId = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.233",
3
+ "version": "1.0.235",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -66,7 +66,7 @@
66
66
  "typescript": "^5.0.0"
67
67
  },
68
68
  "engines": {
69
- "node": ">=22.0.0",
69
+ "node": ">=18",
70
70
  "npm": ">=10.0.0"
71
71
  },
72
72
  "exports": {
package/src/index.ts CHANGED
@@ -6148,6 +6148,15 @@ export default class Repzo {
6148
6148
  );
6149
6149
  return res;
6150
6150
  },
6151
+ create:
6152
+ async (): Promise<Service.OptionalBusinessAppService.Create.Result> => {
6153
+ let res = await this._create(
6154
+ this.svAPIEndpoint,
6155
+ this.optionalBusinessAppService._path,
6156
+ {},
6157
+ );
6158
+ return res;
6159
+ },
6151
6160
  };
6152
6161
  }
6153
6162
 
@@ -19624,30 +19624,27 @@ export namespace Service {
19624
19624
  }
19625
19625
 
19626
19626
  export namespace OptionalBusinessAppService {
19627
- type SERVICE_NAMES =
19628
- | "transfer"
19629
- | "warehouse"
19630
- | "fullinvoices"
19631
- | "client"
19632
- | "product"
19633
- | "rep"
19634
- | "tag"
19635
- | "asset-part-unit"
19636
- | "asset-part-receival"
19637
- | "asset-part-transfer"
19638
- | "return-asset-part-unit"
19639
- | "store-asset-part-unit"
19640
- | "clm-presentation";
19641
19627
  export namespace Find {
19642
19628
  export interface Result {
19643
19629
  code: string;
19644
19630
  services: {
19645
19631
  permission: StringId;
19646
- name: SERVICE_NAMES;
19632
+ name: string;
19647
19633
  default_teams_shared: "shared" | "unshared";
19648
19634
  }[];
19649
19635
  }
19650
19636
  }
19637
+
19638
+ export namespace Create {
19639
+ export interface Result {
19640
+ code: string;
19641
+ services: {
19642
+ permission: StringId;
19643
+ name: string;
19644
+ teams_shared: "shared" | "unshared";
19645
+ }[];
19646
+ }
19647
+ }
19651
19648
  }
19652
19649
  }
19653
19650