repzo 1.0.130 → 1.0.132

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
@@ -12,8 +12,8 @@ export default class Repzo {
12
12
  headers: Headers;
13
13
  private timeout;
14
14
  constructor(apiKey: string, options?: Options);
15
- private _end_points;
16
- END_POINTS: {
15
+ private static _end_points;
16
+ static get END_POINTS(): {
17
17
  readonly CLIENT: "client";
18
18
  readonly PRODUCT: "product";
19
19
  readonly VARIANT: "variant";
@@ -97,6 +97,9 @@ export default class Repzo {
97
97
  readonly ACTIVITY_FEEDBACK: "activity-feedback";
98
98
  readonly ACTIVITY_FEEDBACKV2: "activity-feedback-v2";
99
99
  readonly FEEDBACK_OPTION: "feedback-options";
100
+ readonly WORKORDER_CATEGORY: "workorder-category";
101
+ readonly CONTRACT: "contract";
102
+ readonly CONTRACT_INSTALLMENT: "contract-installment";
100
103
  };
101
104
  private _fetch;
102
105
  private _create;
@@ -1550,4 +1553,64 @@ export default class Repzo {
1550
1553
  id: Service.Approval.Remove.ID
1551
1554
  ) => Promise<Service.Approval.Remove.Result>;
1552
1555
  };
1556
+ workorderCategory: {
1557
+ _path: "workorder-category";
1558
+ find: (
1559
+ params?: Service.WorkorderCategory.Find.Params
1560
+ ) => Promise<Service.WorkorderCategory.Find.Result>;
1561
+ get: (
1562
+ id: Service.WorkorderCategory.Get.ID,
1563
+ params?: Service.WorkorderCategory.Get.Params
1564
+ ) => Promise<Service.WorkorderCategory.Get.Result>;
1565
+ create: (
1566
+ body: Service.WorkorderCategory.Create.Body
1567
+ ) => Promise<Service.WorkorderCategory.Create.Result>;
1568
+ update: (
1569
+ id: Service.WorkorderCategory.Update.ID,
1570
+ body: Service.WorkorderCategory.Update.Body
1571
+ ) => Promise<Service.WorkorderCategory.Update.Result>;
1572
+ remove: (
1573
+ id: Service.WorkorderCategory.Remove.ID
1574
+ ) => Promise<Service.WorkorderCategory.Remove.Result>;
1575
+ };
1576
+ contract: {
1577
+ _path: "contract";
1578
+ find: (
1579
+ params?: Service.Contract.Find.Params
1580
+ ) => Promise<Service.Contract.Find.Result>;
1581
+ get: (
1582
+ id: Service.Contract.Get.ID,
1583
+ params?: Service.Contract.Get.Params
1584
+ ) => Promise<Service.Contract.Get.Result>;
1585
+ create: (
1586
+ body: Service.Contract.Create.Body
1587
+ ) => Promise<Service.Contract.Create.Result>;
1588
+ update: (
1589
+ id: Service.Contract.Update.ID,
1590
+ body: Service.Contract.Update.Body
1591
+ ) => Promise<Service.Contract.Update.Result>;
1592
+ remove: (
1593
+ id: Service.Contract.Remove.ID
1594
+ ) => Promise<Service.Contract.Remove.Result>;
1595
+ };
1596
+ contractInstallment: {
1597
+ _path: "contract-installment";
1598
+ find: (
1599
+ params?: Service.ContractInstallment.Find.Params
1600
+ ) => Promise<Service.ContractInstallment.Find.Result>;
1601
+ get: (
1602
+ id: Service.ContractInstallment.Get.ID,
1603
+ params?: Service.ContractInstallment.Get.Params
1604
+ ) => Promise<Service.ContractInstallment.Get.Result>;
1605
+ create: (
1606
+ body: Service.ContractInstallment.Create.Body
1607
+ ) => Promise<Service.ContractInstallment.Create.Result>;
1608
+ update: (
1609
+ id: Service.ContractInstallment.Update.ID,
1610
+ body: Service.ContractInstallment.Update.Body
1611
+ ) => Promise<Service.ContractInstallment.Update.Result>;
1612
+ remove: (
1613
+ id: Service.ContractInstallment.Remove.ID
1614
+ ) => Promise<Service.ContractInstallment.Remove.Result>;
1615
+ };
1553
1616
  }