repzo 1.0.155 → 1.0.157

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.
Files changed (94) hide show
  1. package/lib/index.d.ts +1 -2
  2. package/lib/index.js +1 -1
  3. package/lib/types/index.d.ts +2 -2
  4. package/package.json +2 -2
  5. package/src/index.ts +4890 -0
  6. package/src/oas/activity-ai-sales-order.yaml +623 -0
  7. package/src/oas/activity-feedback-v2.yaml +753 -0
  8. package/src/oas/activity-feedback.yaml +645 -0
  9. package/src/oas/activity-storecheck.yaml +379 -0
  10. package/src/oas/adjust-account.yaml +241 -0
  11. package/src/oas/adjust-inventory.yaml +133 -0
  12. package/src/oas/approval-request.yaml +211 -0
  13. package/src/oas/approvals.yaml +176 -0
  14. package/src/oas/asset-part-receival.yaml +591 -0
  15. package/src/oas/asset-part-transfer.yaml +618 -0
  16. package/src/oas/asset-part-type.yaml +383 -0
  17. package/src/oas/asset-part-unit.yaml +722 -0
  18. package/src/oas/asset-part.yaml +485 -0
  19. package/src/oas/asset-type.yaml +180 -0
  20. package/src/oas/asset-unit.yaml +705 -0
  21. package/src/oas/asset.yaml +204 -0
  22. package/src/oas/banks.yaml +168 -0
  23. package/src/oas/bankslists.yaml +168 -0
  24. package/src/oas/brand.yaml +246 -0
  25. package/src/oas/category.yaml +285 -0
  26. package/src/oas/checks.yaml +247 -0
  27. package/src/oas/client-channel.yaml +480 -0
  28. package/src/oas/client-contact.yaml +665 -0
  29. package/src/oas/client-location.yaml +687 -0
  30. package/src/oas/client.yaml +669 -0
  31. package/src/oas/contract-installment.yaml +740 -0
  32. package/src/oas/contract.yaml +210 -0
  33. package/src/oas/custom-list-item.yaml +168 -0
  34. package/src/oas/custom-list.yaml +168 -0
  35. package/src/oas/custom-status.yaml +168 -0
  36. package/src/oas/day.yaml +246 -0
  37. package/src/oas/feedback-options.yaml +802 -0
  38. package/src/oas/fullinvoices.yaml +584 -0
  39. package/src/oas/integration-action-log.yaml +361 -0
  40. package/src/oas/integration-app.yaml +303 -0
  41. package/src/oas/integration-command-log.yaml +381 -0
  42. package/src/oas/inventory-adjustment-reason.yaml +165 -0
  43. package/src/oas/inventory.yaml +64 -0
  44. package/src/oas/mail-unsubscribe.yaml +463 -0
  45. package/src/oas/measureunit-family.yaml +354 -0
  46. package/src/oas/measureunit.yaml +366 -0
  47. package/src/oas/media-storage.yaml +329 -0
  48. package/src/oas/media.yaml +472 -0
  49. package/src/oas/msl-products.yaml +180 -0
  50. package/src/oas/msl.yaml +186 -0
  51. package/src/oas/ocr-invoice-job-group.yaml +528 -0
  52. package/src/oas/ocr-invoice-job-page.yaml +602 -0
  53. package/src/oas/ocr-invoice-job-template.yaml +628 -0
  54. package/src/oas/ocr-invoice-job.yaml +603 -0
  55. package/src/oas/patch-action.yaml +421 -0
  56. package/src/oas/payment-terms.yaml +235 -0
  57. package/src/oas/payments.yaml +536 -0
  58. package/src/oas/pricelist-item.yaml +369 -0
  59. package/src/oas/pricelist.yaml +287 -0
  60. package/src/oas/product-group.yaml +278 -0
  61. package/src/oas/product-modifiers-group.yaml +524 -0
  62. package/src/oas/product.yaml +578 -0
  63. package/src/oas/proforma.yaml +180 -0
  64. package/src/oas/quick-convert-to-pdf.yaml +95 -0
  65. package/src/oas/receiving-material.yaml +336 -0
  66. package/src/oas/refund.yaml +281 -0
  67. package/src/oas/rep-balance-summary.yaml +135 -0
  68. package/src/oas/rep.yaml +1824 -0
  69. package/src/oas/return-asset-part-unit.yaml +573 -0
  70. package/src/oas/return-reason.yaml +286 -0
  71. package/src/oas/route.yaml +337 -0
  72. package/src/oas/safe-invoice-serial-counter.yaml +525 -0
  73. package/src/oas/settings.yaml +123 -0
  74. package/src/oas/settlement.yaml +505 -0
  75. package/src/oas/speciality.yaml +447 -0
  76. package/src/oas/store-asset-part-unit.yaml +658 -0
  77. package/src/oas/storecheck-template.yaml +415 -0
  78. package/src/oas/subcategory.yaml +355 -0
  79. package/src/oas/supplier.yaml +183 -0
  80. package/src/oas/svix-integration.yaml +335 -0
  81. package/src/oas/tag.yaml +272 -0
  82. package/src/oas/tax.yaml +303 -0
  83. package/src/oas/team.yaml +268 -0
  84. package/src/oas/transfer.yaml +347 -0
  85. package/src/oas/update-integration-meta.yaml +387 -0
  86. package/src/oas/variant.yaml +569 -0
  87. package/src/oas/visit.yaml +174 -0
  88. package/src/oas/warehouse.yaml +311 -0
  89. package/src/oas/workorder-category.yaml +751 -0
  90. package/src/oas/workorder-portal-link.yaml +811 -0
  91. package/src/oas/workorder-portal.yaml +650 -0
  92. package/src/oas/workorder-request.yaml +193 -0
  93. package/src/oas/workorder.yaml +204 -0
  94. package/src/types/index.ts +2 -1
@@ -0,0 +1,193 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Workorder Request
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Workorder Request endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /workorder-request:
10
+ get:
11
+ summary: Find workorder requests
12
+ operationId: findWorkorderRequests
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering workorder requests
19
+ responses:
20
+ "200":
21
+ description: A list of workorder requests
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/WorkorderRequestFindResult"
26
+ post:
27
+ summary: Create a workorder request
28
+ operationId: createWorkorderRequest
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/WorkorderRequestCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Workorder request created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/WorkorderRequestCreateResult"
42
+ /workorder-request/{id}:
43
+ get:
44
+ summary: Get a workorder request by ID
45
+ operationId: getWorkorderRequest
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Workorder request details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/WorkorderRequestGetResult"
59
+ put:
60
+ summary: Update a workorder request
61
+ operationId: updateWorkorderRequest
62
+ parameters:
63
+ - in: path
64
+ name: id
65
+ required: true
66
+ schema:
67
+ type: string
68
+ requestBody:
69
+ required: true
70
+ content:
71
+ application/json:
72
+ schema:
73
+ $ref: "#/components/schemas/WorkorderRequestUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Workorder request updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/WorkorderRequestUpdateResult"
81
+ delete:
82
+ summary: Remove a workorder request
83
+ operationId: removeWorkorderRequest
84
+ parameters:
85
+ - in: path
86
+ name: id
87
+ required: true
88
+ schema:
89
+ type: string
90
+ responses:
91
+ "200":
92
+ description: Workorder request removed
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: "#/components/schemas/WorkorderRequestRemoveResult"
97
+ components:
98
+ schemas:
99
+ WorkorderRequestFindResult:
100
+ type: object
101
+ properties:
102
+ data:
103
+ type: array
104
+ items:
105
+ $ref: "#/components/schemas/WorkorderRequest"
106
+ meta:
107
+ type: object
108
+ WorkorderRequestCreateBody:
109
+ type: object
110
+ properties:
111
+ title:
112
+ type: string
113
+ description:
114
+ type: string
115
+ priority:
116
+ type: string
117
+ enum: [low, medium, high, urgent]
118
+ requestedBy:
119
+ type: string
120
+ client:
121
+ type: string
122
+ asset:
123
+ type: string
124
+ category:
125
+ type: string
126
+ WorkorderRequestCreateResult:
127
+ type: object
128
+ properties:
129
+ data:
130
+ $ref: "#/components/schemas/WorkorderRequest"
131
+ WorkorderRequestGetResult:
132
+ type: object
133
+ properties:
134
+ data:
135
+ $ref: "#/components/schemas/WorkorderRequest"
136
+ WorkorderRequestUpdateBody:
137
+ type: object
138
+ properties:
139
+ title:
140
+ type: string
141
+ description:
142
+ type: string
143
+ priority:
144
+ type: string
145
+ enum: [low, medium, high, urgent]
146
+ requestedBy:
147
+ type: string
148
+ client:
149
+ type: string
150
+ asset:
151
+ type: string
152
+ category:
153
+ type: string
154
+ status:
155
+ type: string
156
+ WorkorderRequestUpdateResult:
157
+ type: object
158
+ properties:
159
+ data:
160
+ $ref: "#/components/schemas/WorkorderRequest"
161
+ WorkorderRequestRemoveResult:
162
+ type: object
163
+ properties:
164
+ success:
165
+ type: boolean
166
+ WorkorderRequest:
167
+ type: object
168
+ properties:
169
+ _id:
170
+ type: string
171
+ title:
172
+ type: string
173
+ description:
174
+ type: string
175
+ priority:
176
+ type: string
177
+ enum: [low, medium, high, urgent]
178
+ requestedBy:
179
+ type: string
180
+ client:
181
+ type: string
182
+ asset:
183
+ type: string
184
+ category:
185
+ type: string
186
+ status:
187
+ type: string
188
+ createdAt:
189
+ type: string
190
+ format: date-time
191
+ updatedAt:
192
+ type: string
193
+ format: date-time
@@ -0,0 +1,204 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Workorder
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Workorder endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /workorder:
10
+ get:
11
+ summary: Find workorders
12
+ operationId: findWorkorders
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering workorders
19
+ responses:
20
+ "200":
21
+ description: A list of workorders
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/WorkorderFindResult"
26
+ post:
27
+ summary: Create a workorder
28
+ operationId: createWorkorder
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/WorkorderCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Workorder created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/WorkorderCreateResult"
42
+ /workorder/{id}:
43
+ get:
44
+ summary: Get a workorder by ID
45
+ operationId: getWorkorder
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Workorder details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/WorkorderGetResult"
59
+ put:
60
+ summary: Update a workorder
61
+ operationId: updateWorkorder
62
+ parameters:
63
+ - in: path
64
+ name: id
65
+ required: true
66
+ schema:
67
+ type: string
68
+ requestBody:
69
+ required: true
70
+ content:
71
+ application/json:
72
+ schema:
73
+ $ref: "#/components/schemas/WorkorderUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Workorder updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/WorkorderUpdateResult"
81
+ delete:
82
+ summary: Remove a workorder
83
+ operationId: removeWorkorder
84
+ parameters:
85
+ - in: path
86
+ name: id
87
+ required: true
88
+ schema:
89
+ type: string
90
+ responses:
91
+ "200":
92
+ description: Workorder removed
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: "#/components/schemas/WorkorderRemoveResult"
97
+ components:
98
+ schemas:
99
+ WorkorderFindResult:
100
+ type: object
101
+ properties:
102
+ data:
103
+ type: array
104
+ items:
105
+ $ref: "#/components/schemas/Workorder"
106
+ meta:
107
+ type: object
108
+ WorkorderCreateBody:
109
+ type: object
110
+ properties:
111
+ title:
112
+ type: string
113
+ description:
114
+ type: string
115
+ priority:
116
+ type: string
117
+ enum: [low, medium, high, urgent]
118
+ status:
119
+ type: string
120
+ assignedTo:
121
+ type: string
122
+ client:
123
+ type: string
124
+ asset:
125
+ type: string
126
+ category:
127
+ type: string
128
+ dueDate:
129
+ type: string
130
+ format: date-time
131
+ WorkorderCreateResult:
132
+ type: object
133
+ properties:
134
+ data:
135
+ $ref: "#/components/schemas/Workorder"
136
+ WorkorderGetResult:
137
+ type: object
138
+ properties:
139
+ data:
140
+ $ref: "#/components/schemas/Workorder"
141
+ WorkorderUpdateBody:
142
+ type: object
143
+ properties:
144
+ title:
145
+ type: string
146
+ description:
147
+ type: string
148
+ priority:
149
+ type: string
150
+ enum: [low, medium, high, urgent]
151
+ status:
152
+ type: string
153
+ assignedTo:
154
+ type: string
155
+ client:
156
+ type: string
157
+ asset:
158
+ type: string
159
+ category:
160
+ type: string
161
+ dueDate:
162
+ type: string
163
+ format: date-time
164
+ WorkorderUpdateResult:
165
+ type: object
166
+ properties:
167
+ data:
168
+ $ref: "#/components/schemas/Workorder"
169
+ WorkorderRemoveResult:
170
+ type: object
171
+ properties:
172
+ success:
173
+ type: boolean
174
+ Workorder:
175
+ type: object
176
+ properties:
177
+ _id:
178
+ type: string
179
+ title:
180
+ type: string
181
+ description:
182
+ type: string
183
+ priority:
184
+ type: string
185
+ enum: [low, medium, high, urgent]
186
+ status:
187
+ type: string
188
+ assignedTo:
189
+ type: string
190
+ client:
191
+ type: string
192
+ asset:
193
+ type: string
194
+ category:
195
+ type: string
196
+ dueDate:
197
+ type: string
198
+ format: date-time
199
+ createdAt:
200
+ type: string
201
+ format: date-time
202
+ updatedAt:
203
+ type: string
204
+ format: date-time
@@ -1,4 +1,4 @@
1
- import type { EndPoints } from "../index";
1
+ import { EndPoints } from "../index.js";
2
2
 
3
3
  export interface Params {
4
4
  [key: string]: any;
@@ -15575,6 +15575,7 @@ export namespace Service {
15575
15575
  | "auto_closed_by_geofence"
15576
15576
  | "auto_closed_by_geofence_reason"
15577
15577
  | "client_geo_location"
15578
+ | "delta_distance"
15578
15579
  >;
15579
15580
 
15580
15581
  // ActivityPhoto ********************************************************************