@kernelminds/scailo-sdk 0.0.111 → 0.0.113
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/LICENSE +201 -0
- package/README.md +148 -0
- package/lib/cjs/index.js +0 -1
- package/lib/cjs/src/base.scailo_pb.js +42 -0
- package/lib/cjs/src/components.scailo_pb.js +36 -0
- package/lib/cjs/src/equipments.scailo_pb.js +36 -0
- package/lib/cjs/src/feedstocks.scailo_pb.js +36 -0
- package/lib/cjs/src/infrastructures.scailo_pb.js +36 -0
- package/lib/cjs/src/merchandises.scailo_pb.js +36 -0
- package/lib/cjs/src/products.scailo_pb.js +36 -0
- package/lib/cjs/src/vault_commons.scailo_pb.js +2 -2
- package/lib/cjs/types/index.d.ts +0 -1
- package/lib/cjs/types/index.d.ts.map +1 -1
- package/lib/cjs/types/src/base.scailo_pb.d.ts +37 -1
- package/lib/cjs/types/src/base.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/components.scailo_pb.d.ts +31 -0
- package/lib/cjs/types/src/components.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/equipments.scailo_pb.d.ts +31 -0
- package/lib/cjs/types/src/equipments.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/feedstocks.scailo_pb.d.ts +31 -0
- package/lib/cjs/types/src/feedstocks.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/infrastructures.scailo_pb.d.ts +31 -0
- package/lib/cjs/types/src/infrastructures.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/merchandises.scailo_pb.d.ts +31 -0
- package/lib/cjs/types/src/merchandises.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/products.scailo_pb.d.ts +31 -0
- package/lib/cjs/types/src/products.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/vault_commons.scailo_pb.d.ts +2 -2
- package/lib/esm/index.js +0 -1
- package/lib/esm/src/base.scailo_pb.js +42 -0
- package/lib/esm/src/components.scailo_pb.js +36 -0
- package/lib/esm/src/equipments.scailo_pb.js +36 -0
- package/lib/esm/src/feedstocks.scailo_pb.js +36 -0
- package/lib/esm/src/infrastructures.scailo_pb.js +36 -0
- package/lib/esm/src/merchandises.scailo_pb.js +36 -0
- package/lib/esm/src/products.scailo_pb.js +36 -0
- package/lib/esm/src/vault_commons.scailo_pb.js +2 -2
- package/lib/esm/types/index.d.ts +0 -1
- package/lib/esm/types/index.d.ts.map +1 -1
- package/lib/esm/types/src/base.scailo_pb.d.ts +37 -1
- package/lib/esm/types/src/base.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/components.scailo_pb.d.ts +31 -0
- package/lib/esm/types/src/components.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/equipments.scailo_pb.d.ts +31 -0
- package/lib/esm/types/src/equipments.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/feedstocks.scailo_pb.d.ts +31 -0
- package/lib/esm/types/src/feedstocks.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/infrastructures.scailo_pb.d.ts +31 -0
- package/lib/esm/types/src/infrastructures.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/merchandises.scailo_pb.d.ts +31 -0
- package/lib/esm/types/src/merchandises.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/products.scailo_pb.d.ts +31 -0
- package/lib/esm/types/src/products.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/vault_commons.scailo_pb.d.ts +2 -2
- package/package.json +6 -6
- package/lib/cjs/src/genesis.validate.scailo_pb.js +0 -1141
- package/lib/cjs/src/google/protobuf/duration_pb.js +0 -183
- package/lib/cjs/src/google/protobuf/timestamp_pb.js +0 -227
- package/lib/cjs/types/src/genesis.validate.scailo_pb.d.ts +0 -1796
- package/lib/cjs/types/src/genesis.validate.scailo_pb.d.ts.map +0 -1
- package/lib/cjs/types/src/google/protobuf/duration_pb.d.ts +0 -97
- package/lib/cjs/types/src/google/protobuf/duration_pb.d.ts.map +0 -1
- package/lib/cjs/types/src/google/protobuf/timestamp_pb.d.ts +0 -129
- package/lib/cjs/types/src/google/protobuf/timestamp_pb.d.ts.map +0 -1
- package/lib/esm/src/genesis.validate.scailo_pb.js +0 -2045
- package/lib/esm/src/google/protobuf/duration_pb.js +0 -183
- package/lib/esm/src/google/protobuf/timestamp_pb.js +0 -227
- package/lib/esm/types/src/genesis.validate.scailo_pb.d.ts +0 -1796
- package/lib/esm/types/src/genesis.validate.scailo_pb.d.ts.map +0 -1
- package/lib/esm/types/src/google/protobuf/duration_pb.d.ts +0 -97
- package/lib/esm/types/src/google/protobuf/duration_pb.d.ts.map +0 -1
- package/lib/esm/types/src/google/protobuf/timestamp_pb.d.ts +0 -129
- package/lib/esm/types/src/google/protobuf/timestamp_pb.d.ts.map +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
<p align="center"> <a href="https://scailo.com" target="_blank"> <img src="https://pub-fbb2435be97c492d8ece0578844483ea.r2.dev/scailo-logo.png" alt="Scailo Logo" width="200"> </a> </p>
|
|
2
|
+
|
|
3
|
+
<h1 align="center">Scailo Official NPM SDK</h1>
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://www.npmjs.com/package/@kernelminds/scailo-sdk">
|
|
7
|
+
<img src="https://img.shields.io/npm/v/%40kernelminds/scailo-sdk.svg" alt="NPM Version">
|
|
8
|
+
</a>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
Welcome to the official SDK for the Scailo ERP API. This package provides a convenient way to interact with Scailo's gRPC services from any JavaScript or TypeScript application, supporting both Node.js and modern web browsers.
|
|
12
|
+
|
|
13
|
+
## About Scailo
|
|
14
|
+
|
|
15
|
+
Scailo is a powerful, modern ERP solution designed to be the foundation for your business needs. It provides a wide range of customizable business applications that cover everything from e-commerce, accounting, and CRM to order management, manufacturing, and human resources. With Scailo, you can streamline operations and unify your business processes on a single, scalable platform.
|
|
16
|
+
|
|
17
|
+
To learn more about what Scailo can do for your business, visit [scailo.com](https://scailo.com).
|
|
18
|
+
|
|
19
|
+
### Installation
|
|
20
|
+
You can install the package using npm or yarn:
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
npm install @kernelminds/scailo-sdk
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
or
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
yarn add @kernelminds/scailo-sdk
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Getting Started & Usage
|
|
33
|
+
|
|
34
|
+
To communicate with the Scailo API, you'll need to instantiate a client, authenticate to receive a token, and then include that token in the metadata of all subsequent API calls.
|
|
35
|
+
|
|
36
|
+
#### 1. Create a Transport
|
|
37
|
+
|
|
38
|
+
- For Web
|
|
39
|
+
|
|
40
|
+
```typescript
|
|
41
|
+
import { createConnectTransport } from "@connectrpc/connect-web";
|
|
42
|
+
|
|
43
|
+
function getWebTransport(apiEndPoint: string = location.origin) {
|
|
44
|
+
return createConnectTransport({
|
|
45
|
+
baseUrl: apiEndPoint, useBinaryFormat: false, interceptors: []
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
- For Node
|
|
51
|
+
|
|
52
|
+
```typescript
|
|
53
|
+
import { createConnectTransport } from "@connectrpc/connect-node";
|
|
54
|
+
|
|
55
|
+
function getNodeTransport(apiEndPoint: string) {
|
|
56
|
+
return createConnectTransport({
|
|
57
|
+
baseUrl: apiEndPoint, httpVersion: "1.1", useBinaryFormat: false, interceptors: []
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### 2. Authentication
|
|
63
|
+
|
|
64
|
+
Next, you need to call the login service to get an auth_token. This token is essential for authorizing other API requests.
|
|
65
|
+
|
|
66
|
+
```typescript
|
|
67
|
+
import { getClientForLoginService, UserLoginRequest } from "@kernelminds/scailo-sdk";
|
|
68
|
+
|
|
69
|
+
// The address of your Scailo instance
|
|
70
|
+
const upstreamAPI = "https://your-scailo-instance.com";
|
|
71
|
+
const username = "your-username";
|
|
72
|
+
const password = "your-password";
|
|
73
|
+
|
|
74
|
+
const transport = getWebTransport(upstreamAPI);
|
|
75
|
+
|
|
76
|
+
async function authenticate() {
|
|
77
|
+
try {
|
|
78
|
+
const client = getClientForLoginService(transport)
|
|
79
|
+
const loginResp = await client.loginAsEmployeePrimary(new UserLoginRequest({
|
|
80
|
+
username: username,
|
|
81
|
+
plainTextPassword: password,
|
|
82
|
+
otp: otp,
|
|
83
|
+
expiresIn: expiresIn || protoInt64.zero
|
|
84
|
+
}), {
|
|
85
|
+
headers: {}
|
|
86
|
+
});
|
|
87
|
+
return loginResp
|
|
88
|
+
} catch (error) {
|
|
89
|
+
console.error("Authentication failed:", error.message);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
authenticate();
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
#### 3. Making Authenticated Requests
|
|
97
|
+
|
|
98
|
+
Once you have the authToken, you must include it in the metadata of your API calls. The following example demonstrates how to fetch purchase orders using the token you received.
|
|
99
|
+
|
|
100
|
+
```typescript
|
|
101
|
+
import { getClientForPurchasesOrdersService, PurchasesOrdersServiceFilterReq, BOOL_FILTER, SORT_ORDER } from "@kernelminds/scailo-sdk";
|
|
102
|
+
import { protoInt64 } from "@bufbuild/protobuf";
|
|
103
|
+
|
|
104
|
+
const transport = getWebTransport(upstreamAPI);
|
|
105
|
+
|
|
106
|
+
async function getPurchaseOrders(authToken: string) {
|
|
107
|
+
try {
|
|
108
|
+
const purchaseOrdersClient = getClientForPurchasesOrdersService(transport);
|
|
109
|
+
const resp = await purchaseOrdersClient.filter(new PurchasesOrdersServiceFilterReq({
|
|
110
|
+
isActive: BOOL_FILTER.BOOL_FILTER_TRUE,
|
|
111
|
+
count: protoInt64.parse(5),
|
|
112
|
+
}), {
|
|
113
|
+
headers: {
|
|
114
|
+
"auth_token": authToken
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
console.log("Successfully fetched purchase orders:", response.list);
|
|
118
|
+
return response.list;
|
|
119
|
+
|
|
120
|
+
} catch (error) {
|
|
121
|
+
console.error("Failed to fetch purchase orders:", error.message);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// Example usage:
|
|
126
|
+
async function run() {
|
|
127
|
+
const loginResp = await authenticate();
|
|
128
|
+
if (loginResp.authToken) {
|
|
129
|
+
await getPurchaseOrders(loginResp.authToken);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
run();
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## API Use Cases
|
|
137
|
+
|
|
138
|
+
The Scailo API is extensive and allows you to build powerful integrations. Some common use cases include:
|
|
139
|
+
|
|
140
|
+
- E-commerce Integration: Sync orders, customer data, and inventory levels between Scailo and platforms like Shopify or WooCommerce.
|
|
141
|
+
|
|
142
|
+
- Automate Business Processes: Automatically transfer data from a CRM or Warehouse Management System (WMS) directly into the ERP.
|
|
143
|
+
|
|
144
|
+
- Financial Management: Connect Scailo with accounting systems to automate invoice generation and financial reporting.
|
|
145
|
+
|
|
146
|
+
- Custom Workflows: Build custom applications and workflows tailored to your specific business logic.
|
|
147
|
+
|
|
148
|
+
For more detailed information on what you can build, please see our [API](https://scailo.com/api) documentation.
|
package/lib/cjs/index.js
CHANGED
|
@@ -187,7 +187,6 @@ __exportStar(require("./src/general_settings.scailo_connect"), exports);
|
|
|
187
187
|
__exportStar(require("./src/general_settings.scailo_pb"), exports);
|
|
188
188
|
__exportStar(require("./src/general_streams.scailo_connect"), exports);
|
|
189
189
|
__exportStar(require("./src/general_streams.scailo_pb"), exports);
|
|
190
|
-
__exportStar(require("./src/genesis.validate.scailo_pb"), exports);
|
|
191
190
|
__exportStar(require("./src/goals.scailo_connect"), exports);
|
|
192
191
|
__exportStar(require("./src/goals.scailo_pb"), exports);
|
|
193
192
|
__exportStar(require("./src/goods_dispatches.scailo_connect"), exports);
|
|
@@ -440,6 +440,42 @@ var FORM_TYPE;
|
|
|
440
440
|
* @generated from enum value: FORM_TYPE_MEETING_FORM = 530;
|
|
441
441
|
*/
|
|
442
442
|
FORM_TYPE[FORM_TYPE["FORM_TYPE_MEETING_FORM"] = 530] = "FORM_TYPE_MEETING_FORM";
|
|
443
|
+
/**
|
|
444
|
+
* The form type is "product-form"
|
|
445
|
+
*
|
|
446
|
+
* @generated from enum value: FORM_TYPE_PRODUCT_FORM = 700;
|
|
447
|
+
*/
|
|
448
|
+
FORM_TYPE[FORM_TYPE["FORM_TYPE_PRODUCT_FORM"] = 700] = "FORM_TYPE_PRODUCT_FORM";
|
|
449
|
+
/**
|
|
450
|
+
* The form type is "component-form"
|
|
451
|
+
*
|
|
452
|
+
* @generated from enum value: FORM_TYPE_COMPONENT_FORM = 710;
|
|
453
|
+
*/
|
|
454
|
+
FORM_TYPE[FORM_TYPE["FORM_TYPE_COMPONENT_FORM"] = 710] = "FORM_TYPE_COMPONENT_FORM";
|
|
455
|
+
/**
|
|
456
|
+
* The form type is "feedstock-form"
|
|
457
|
+
*
|
|
458
|
+
* @generated from enum value: FORM_TYPE_FEEDSTOCK_FORM = 720;
|
|
459
|
+
*/
|
|
460
|
+
FORM_TYPE[FORM_TYPE["FORM_TYPE_FEEDSTOCK_FORM"] = 720] = "FORM_TYPE_FEEDSTOCK_FORM";
|
|
461
|
+
/**
|
|
462
|
+
* The form type is "merchandise-form"
|
|
463
|
+
*
|
|
464
|
+
* @generated from enum value: FORM_TYPE_MERCHANDISE_FORM = 730;
|
|
465
|
+
*/
|
|
466
|
+
FORM_TYPE[FORM_TYPE["FORM_TYPE_MERCHANDISE_FORM"] = 730] = "FORM_TYPE_MERCHANDISE_FORM";
|
|
467
|
+
/**
|
|
468
|
+
* The form type is "equipment-form"
|
|
469
|
+
*
|
|
470
|
+
* @generated from enum value: FORM_TYPE_EQUIPMENT_FORM = 740;
|
|
471
|
+
*/
|
|
472
|
+
FORM_TYPE[FORM_TYPE["FORM_TYPE_EQUIPMENT_FORM"] = 740] = "FORM_TYPE_EQUIPMENT_FORM";
|
|
473
|
+
/**
|
|
474
|
+
* The form type is "infrastructure-form"
|
|
475
|
+
*
|
|
476
|
+
* @generated from enum value: FORM_TYPE_INFRASTRUCTURE_FORM = 750;
|
|
477
|
+
*/
|
|
478
|
+
FORM_TYPE[FORM_TYPE["FORM_TYPE_INFRASTRUCTURE_FORM"] = 750] = "FORM_TYPE_INFRASTRUCTURE_FORM";
|
|
443
479
|
})(FORM_TYPE || (exports.FORM_TYPE = FORM_TYPE = {}));
|
|
444
480
|
// Retrieve enum metadata with: proto3.getEnumType(FORM_TYPE)
|
|
445
481
|
protobuf_1.proto3.util.setEnumType(FORM_TYPE, "Scailo.FORM_TYPE", [
|
|
@@ -497,6 +533,12 @@ protobuf_1.proto3.util.setEnumType(FORM_TYPE, "Scailo.FORM_TYPE", [
|
|
|
497
533
|
{ no: 510, name: "FORM_TYPE_SKILL_GROUP_FORM" },
|
|
498
534
|
{ no: 520, name: "FORM_TYPE_GOAL_FORM" },
|
|
499
535
|
{ no: 530, name: "FORM_TYPE_MEETING_FORM" },
|
|
536
|
+
{ no: 700, name: "FORM_TYPE_PRODUCT_FORM" },
|
|
537
|
+
{ no: 710, name: "FORM_TYPE_COMPONENT_FORM" },
|
|
538
|
+
{ no: 720, name: "FORM_TYPE_FEEDSTOCK_FORM" },
|
|
539
|
+
{ no: 730, name: "FORM_TYPE_MERCHANDISE_FORM" },
|
|
540
|
+
{ no: 740, name: "FORM_TYPE_EQUIPMENT_FORM" },
|
|
541
|
+
{ no: 750, name: "FORM_TYPE_INFRASTRUCTURE_FORM" },
|
|
500
542
|
]);
|
|
501
543
|
/**
|
|
502
544
|
*
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.ComponentsServiceSearchAllReq = exports.ComponentsServiceCountReq = exports.ComponentsServiceFilterReq = exports.ComponentsServicePaginationResponse = exports.ComponentsServicePaginationReq = exports.ComponentsList = exports.Component = exports.ComponentsServiceSendToStoreRequest = exports.ComponentsServiceUpdateRequest = exports.ComponentsServiceCreateRequest = exports.COMPONENT_REF_FROM = void 0;
|
|
8
8
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
|
+
const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
|
|
9
10
|
const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
|
|
10
11
|
/**
|
|
11
12
|
*
|
|
@@ -154,6 +155,12 @@ class ComponentsServiceCreateRequest extends protobuf_1.Message {
|
|
|
154
155
|
* @generated from field: string description = 60;
|
|
155
156
|
*/
|
|
156
157
|
this.description = "";
|
|
158
|
+
/**
|
|
159
|
+
* The list of dynamic forms
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: repeated Scailo.FormFieldDatumCreateRequest form_data = 80;
|
|
162
|
+
*/
|
|
163
|
+
this.formData = [];
|
|
157
164
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
158
165
|
}
|
|
159
166
|
static fromBinary(bytes, options) {
|
|
@@ -187,6 +194,7 @@ ComponentsServiceCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() =
|
|
|
187
194
|
{ no: 42, name: "warranty_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
188
195
|
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
189
196
|
{ no: 60, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
197
|
+
{ no: 80, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumCreateRequest, repeated: true },
|
|
190
198
|
]);
|
|
191
199
|
/**
|
|
192
200
|
*
|
|
@@ -275,6 +283,12 @@ class ComponentsServiceUpdateRequest extends protobuf_1.Message {
|
|
|
275
283
|
* @generated from field: string description = 60;
|
|
276
284
|
*/
|
|
277
285
|
this.description = "";
|
|
286
|
+
/**
|
|
287
|
+
* The list of dynamic forms
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: repeated Scailo.FormFieldDatumCreateRequest form_data = 80;
|
|
290
|
+
*/
|
|
291
|
+
this.formData = [];
|
|
278
292
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
279
293
|
}
|
|
280
294
|
static fromBinary(bytes, options) {
|
|
@@ -307,6 +321,7 @@ ComponentsServiceUpdateRequest.fields = protobuf_1.proto3.util.newFieldList(() =
|
|
|
307
321
|
{ no: 52, name: "is_qc_report_public", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
308
322
|
{ no: 55, name: "remaining_dimensions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
309
323
|
{ no: 60, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
324
|
+
{ no: 80, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumCreateRequest, repeated: true },
|
|
310
325
|
]);
|
|
311
326
|
/**
|
|
312
327
|
*
|
|
@@ -589,6 +604,12 @@ class Component extends protobuf_1.Message {
|
|
|
589
604
|
* @generated from field: string short_url = 70;
|
|
590
605
|
*/
|
|
591
606
|
this.shortUrl = "";
|
|
607
|
+
/**
|
|
608
|
+
* The list of dynamic forms
|
|
609
|
+
*
|
|
610
|
+
* @generated from field: repeated Scailo.FormFieldDatum form_data = 80;
|
|
611
|
+
*/
|
|
612
|
+
this.formData = [];
|
|
592
613
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
593
614
|
}
|
|
594
615
|
static fromBinary(bytes, options) {
|
|
@@ -639,6 +660,7 @@ Component.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
639
660
|
{ no: 55, name: "remaining_dimensions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
640
661
|
{ no: 60, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
641
662
|
{ no: 70, name: "short_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
663
|
+
{ no: 80, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatum, repeated: true },
|
|
642
664
|
]);
|
|
643
665
|
/**
|
|
644
666
|
*
|
|
@@ -1019,6 +1041,12 @@ class ComponentsServiceFilterReq extends protobuf_1.Message {
|
|
|
1019
1041
|
* @generated from field: uint64 vendor_id = 81;
|
|
1020
1042
|
*/
|
|
1021
1043
|
this.vendorId = protobuf_1.protoInt64.zero;
|
|
1044
|
+
/**
|
|
1045
|
+
* The list of form data filters
|
|
1046
|
+
*
|
|
1047
|
+
* @generated from field: repeated Scailo.FormFieldDatumFilterRequest form_data = 500;
|
|
1048
|
+
*/
|
|
1049
|
+
this.formData = [];
|
|
1022
1050
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1023
1051
|
}
|
|
1024
1052
|
static fromBinary(bytes, options) {
|
|
@@ -1072,6 +1100,7 @@ ComponentsServiceFilterReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1072
1100
|
{ no: 52, name: "is_qc_report_public", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1073
1101
|
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1074
1102
|
{ no: 81, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1103
|
+
{ no: 500, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumFilterRequest, repeated: true },
|
|
1075
1104
|
]);
|
|
1076
1105
|
/**
|
|
1077
1106
|
*
|
|
@@ -1264,6 +1293,12 @@ class ComponentsServiceCountReq extends protobuf_1.Message {
|
|
|
1264
1293
|
* @generated from field: uint64 vendor_id = 81;
|
|
1265
1294
|
*/
|
|
1266
1295
|
this.vendorId = protobuf_1.protoInt64.zero;
|
|
1296
|
+
/**
|
|
1297
|
+
* The list of form data filters
|
|
1298
|
+
*
|
|
1299
|
+
* @generated from field: repeated Scailo.FormFieldDatumFilterRequest form_data = 500;
|
|
1300
|
+
*/
|
|
1301
|
+
this.formData = [];
|
|
1267
1302
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1268
1303
|
}
|
|
1269
1304
|
static fromBinary(bytes, options) {
|
|
@@ -1313,6 +1348,7 @@ ComponentsServiceCountReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1313
1348
|
{ no: 52, name: "is_qc_report_public", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1314
1349
|
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1315
1350
|
{ no: 81, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1351
|
+
{ no: 500, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumFilterRequest, repeated: true },
|
|
1316
1352
|
]);
|
|
1317
1353
|
/**
|
|
1318
1354
|
*
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.EquipmentsServiceSearchAllReq = exports.EquipmentsServiceCountReq = exports.EquipmentsServiceFilterReq = exports.EquipmentsServicePaginationResponse = exports.EquipmentsServicePaginationReq = exports.EquipmentsList = exports.Equipment = exports.EquipmentsServiceSendToStoreRequest = exports.EquipmentsServiceUpdateRequest = exports.EquipmentsServiceCreateRequest = exports.EQUIPMENT_REF_FROM = void 0;
|
|
8
8
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
|
+
const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
|
|
9
10
|
const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
|
|
10
11
|
/**
|
|
11
12
|
*
|
|
@@ -140,6 +141,12 @@ class EquipmentsServiceCreateRequest extends protobuf_1.Message {
|
|
|
140
141
|
* @generated from field: string description = 60;
|
|
141
142
|
*/
|
|
142
143
|
this.description = "";
|
|
144
|
+
/**
|
|
145
|
+
* The list of dynamic forms
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: repeated Scailo.FormFieldDatumCreateRequest form_data = 80;
|
|
148
|
+
*/
|
|
149
|
+
this.formData = [];
|
|
143
150
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
144
151
|
}
|
|
145
152
|
static fromBinary(bytes, options) {
|
|
@@ -173,6 +180,7 @@ EquipmentsServiceCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() =
|
|
|
173
180
|
{ no: 42, name: "warranty_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
174
181
|
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
175
182
|
{ no: 60, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
183
|
+
{ no: 80, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumCreateRequest, repeated: true },
|
|
176
184
|
]);
|
|
177
185
|
/**
|
|
178
186
|
*
|
|
@@ -261,6 +269,12 @@ class EquipmentsServiceUpdateRequest extends protobuf_1.Message {
|
|
|
261
269
|
* @generated from field: string description = 60;
|
|
262
270
|
*/
|
|
263
271
|
this.description = "";
|
|
272
|
+
/**
|
|
273
|
+
* The list of dynamic forms
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: repeated Scailo.FormFieldDatumCreateRequest form_data = 80;
|
|
276
|
+
*/
|
|
277
|
+
this.formData = [];
|
|
264
278
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
265
279
|
}
|
|
266
280
|
static fromBinary(bytes, options) {
|
|
@@ -293,6 +307,7 @@ EquipmentsServiceUpdateRequest.fields = protobuf_1.proto3.util.newFieldList(() =
|
|
|
293
307
|
{ no: 52, name: "is_qc_report_public", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
294
308
|
{ no: 55, name: "remaining_dimensions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
295
309
|
{ no: 60, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
310
|
+
{ no: 80, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumCreateRequest, repeated: true },
|
|
296
311
|
]);
|
|
297
312
|
/**
|
|
298
313
|
*
|
|
@@ -575,6 +590,12 @@ class Equipment extends protobuf_1.Message {
|
|
|
575
590
|
* @generated from field: string short_url = 70;
|
|
576
591
|
*/
|
|
577
592
|
this.shortUrl = "";
|
|
593
|
+
/**
|
|
594
|
+
* The list of dynamic forms
|
|
595
|
+
*
|
|
596
|
+
* @generated from field: repeated Scailo.FormFieldDatum form_data = 80;
|
|
597
|
+
*/
|
|
598
|
+
this.formData = [];
|
|
578
599
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
579
600
|
}
|
|
580
601
|
static fromBinary(bytes, options) {
|
|
@@ -625,6 +646,7 @@ Equipment.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
625
646
|
{ no: 55, name: "remaining_dimensions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
626
647
|
{ no: 60, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
627
648
|
{ no: 70, name: "short_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
649
|
+
{ no: 80, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatum, repeated: true },
|
|
628
650
|
]);
|
|
629
651
|
/**
|
|
630
652
|
*
|
|
@@ -1005,6 +1027,12 @@ class EquipmentsServiceFilterReq extends protobuf_1.Message {
|
|
|
1005
1027
|
* @generated from field: uint64 vendor_id = 81;
|
|
1006
1028
|
*/
|
|
1007
1029
|
this.vendorId = protobuf_1.protoInt64.zero;
|
|
1030
|
+
/**
|
|
1031
|
+
* The list of form data filters
|
|
1032
|
+
*
|
|
1033
|
+
* @generated from field: repeated Scailo.FormFieldDatumFilterRequest form_data = 500;
|
|
1034
|
+
*/
|
|
1035
|
+
this.formData = [];
|
|
1008
1036
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1009
1037
|
}
|
|
1010
1038
|
static fromBinary(bytes, options) {
|
|
@@ -1058,6 +1086,7 @@ EquipmentsServiceFilterReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1058
1086
|
{ no: 52, name: "is_qc_report_public", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1059
1087
|
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1060
1088
|
{ no: 81, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1089
|
+
{ no: 500, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumFilterRequest, repeated: true },
|
|
1061
1090
|
]);
|
|
1062
1091
|
/**
|
|
1063
1092
|
*
|
|
@@ -1250,6 +1279,12 @@ class EquipmentsServiceCountReq extends protobuf_1.Message {
|
|
|
1250
1279
|
* @generated from field: uint64 vendor_id = 81;
|
|
1251
1280
|
*/
|
|
1252
1281
|
this.vendorId = protobuf_1.protoInt64.zero;
|
|
1282
|
+
/**
|
|
1283
|
+
* The list of form data filters
|
|
1284
|
+
*
|
|
1285
|
+
* @generated from field: repeated Scailo.FormFieldDatumFilterRequest form_data = 500;
|
|
1286
|
+
*/
|
|
1287
|
+
this.formData = [];
|
|
1253
1288
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1254
1289
|
}
|
|
1255
1290
|
static fromBinary(bytes, options) {
|
|
@@ -1299,6 +1334,7 @@ EquipmentsServiceCountReq.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1299
1334
|
{ no: 52, name: "is_qc_report_public", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
|
|
1300
1335
|
{ no: 54, name: "location_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1301
1336
|
{ no: 81, name: "vendor_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1337
|
+
{ no: 500, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumFilterRequest, repeated: true },
|
|
1302
1338
|
]);
|
|
1303
1339
|
/**
|
|
1304
1340
|
*
|