@kernelminds/scailo-sdk 0.1.4 → 0.1.5
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/cjs/src/base.scailo_pb.js +7 -0
- package/lib/cjs/src/general_settings.scailo_connect.js +43 -18
- package/lib/cjs/src/general_settings.scailo_pb.js +43 -28
- package/lib/cjs/types/src/base.scailo_pb.d.ts +7 -1
- package/lib/cjs/types/src/base.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/general_settings.scailo_connect.d.ts +44 -19
- package/lib/cjs/types/src/general_settings.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/general_settings.scailo_pb.d.ts +40 -27
- package/lib/cjs/types/src/general_settings.scailo_pb.d.ts.map +1 -1
- package/lib/esm/src/base.scailo_pb.js +7 -0
- package/lib/esm/src/general_settings.scailo_connect.js +43 -18
- package/lib/esm/src/general_settings.scailo_pb.js +45 -30
- package/lib/esm/types/src/base.scailo_pb.d.ts +7 -1
- package/lib/esm/types/src/base.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/general_settings.scailo_connect.d.ts +44 -19
- package/lib/esm/types/src/general_settings.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/general_settings.scailo_pb.d.ts +40 -27
- package/lib/esm/types/src/general_settings.scailo_pb.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { GeneralSettings,
|
|
2
|
-
import { Empty, IdentifierResponse, ImageResponse, StandardFile } from "./base.scailo_pb.js";
|
|
1
|
+
import { GeneralSettings, GeneralSettingsServiceCreateRequest } from "./general_settings.scailo_pb.js";
|
|
3
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
+
import { Empty, IdentifierResponse, IdentifierUUIDsList, ImageResponse, StandardFile } from "./base.scailo_pb.js";
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
6
|
-
* Describes the
|
|
6
|
+
* Describes the methods applicable on each general settings
|
|
7
7
|
*
|
|
8
8
|
* @generated from service Scailo.GeneralSettingsService
|
|
9
9
|
*/
|
|
@@ -11,24 +11,13 @@ export declare const GeneralSettingsService: {
|
|
|
11
11
|
readonly typeName: "Scailo.GeneralSettingsService";
|
|
12
12
|
readonly methods: {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Create a general settings
|
|
15
15
|
*
|
|
16
|
-
* @generated from rpc Scailo.GeneralSettingsService.
|
|
16
|
+
* @generated from rpc Scailo.GeneralSettingsService.Create
|
|
17
17
|
*/
|
|
18
|
-
readonly
|
|
19
|
-
readonly name: "
|
|
20
|
-
readonly I: typeof
|
|
21
|
-
readonly O: typeof IdentifierResponse;
|
|
22
|
-
readonly kind: MethodKind.Unary;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* View the current settings
|
|
26
|
-
*
|
|
27
|
-
* @generated from rpc Scailo.GeneralSettingsService.ViewSettings
|
|
28
|
-
*/
|
|
29
|
-
readonly viewSettings: {
|
|
30
|
-
readonly name: "ViewSettings";
|
|
31
|
-
readonly I: typeof Empty;
|
|
18
|
+
readonly create: {
|
|
19
|
+
readonly name: "Create";
|
|
20
|
+
readonly I: typeof GeneralSettingsServiceCreateRequest;
|
|
32
21
|
readonly O: typeof GeneralSettings;
|
|
33
22
|
readonly kind: MethodKind.Unary;
|
|
34
23
|
};
|
|
@@ -54,6 +43,42 @@ export declare const GeneralSettingsService: {
|
|
|
54
43
|
readonly O: typeof ImageResponse;
|
|
55
44
|
readonly kind: MethodKind.Unary;
|
|
56
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* ------------------------------------------------------
|
|
48
|
+
* All view operations are listed below
|
|
49
|
+
* View the current settings
|
|
50
|
+
*
|
|
51
|
+
* @generated from rpc Scailo.GeneralSettingsService.ViewSettings
|
|
52
|
+
*/
|
|
53
|
+
readonly viewSettings: {
|
|
54
|
+
readonly name: "ViewSettings";
|
|
55
|
+
readonly I: typeof Empty;
|
|
56
|
+
readonly O: typeof GeneralSettings;
|
|
57
|
+
readonly kind: MethodKind.Unary;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* CSV operations
|
|
61
|
+
* Download the CSV template that could be used to upload records
|
|
62
|
+
*
|
|
63
|
+
* @generated from rpc Scailo.GeneralSettingsService.DownloadImportTemplate
|
|
64
|
+
*/
|
|
65
|
+
readonly downloadImportTemplate: {
|
|
66
|
+
readonly name: "DownloadImportTemplate";
|
|
67
|
+
readonly I: typeof Empty;
|
|
68
|
+
readonly O: typeof StandardFile;
|
|
69
|
+
readonly kind: MethodKind.Unary;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Import records using a CSV file
|
|
73
|
+
*
|
|
74
|
+
* @generated from rpc Scailo.GeneralSettingsService.ImportFromCSV
|
|
75
|
+
*/
|
|
76
|
+
readonly importFromCSV: {
|
|
77
|
+
readonly name: "ImportFromCSV";
|
|
78
|
+
readonly I: typeof StandardFile;
|
|
79
|
+
readonly O: typeof IdentifierUUIDsList;
|
|
80
|
+
readonly kind: MethodKind.Unary;
|
|
81
|
+
};
|
|
57
82
|
};
|
|
58
83
|
};
|
|
59
84
|
//# sourceMappingURL=general_settings.scailo_connect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general_settings.scailo_connect.d.ts","sourceRoot":"","sources":["../../../../src/general_settings.scailo_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"general_settings.scailo_connect.d.ts","sourceRoot":"","sources":["../../../../src/general_settings.scailo_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,mCAAmC,EAAE,MAAM,iCAAiC,CAAC;AACvG,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAElH;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;QAG/B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;WAMG;;;;;;;QAOH;;;;;WAKG;;;;;;;QAOH;;;;WAIG;;;;;;;;CAQG,CAAC"}
|
|
@@ -1,19 +1,26 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
3
|
import { EmployeeMetadata } from "./base.scailo_pb.js";
|
|
4
|
+
import { FormFieldDatum, FormFieldDatumCreateRequest } from "./forms_fields_data.scailo_pb.js";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
|
-
* Describes the
|
|
7
|
+
* Describes the data structure of general settings on the platform
|
|
7
8
|
*
|
|
8
|
-
* @generated from message Scailo.
|
|
9
|
+
* @generated from message Scailo.GeneralSettings
|
|
9
10
|
*/
|
|
10
|
-
export declare class
|
|
11
|
+
export declare class GeneralSettings extends Message<GeneralSettings> {
|
|
11
12
|
/**
|
|
12
13
|
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
13
14
|
*
|
|
14
15
|
* @generated from field: string entity_uuid = 1;
|
|
15
16
|
*/
|
|
16
17
|
entityUuid: string;
|
|
18
|
+
/**
|
|
19
|
+
* Stores the metadata of this sales order
|
|
20
|
+
*
|
|
21
|
+
* @generated from field: Scailo.EmployeeMetadata metadata = 2;
|
|
22
|
+
*/
|
|
23
|
+
metadata?: EmployeeMetadata;
|
|
17
24
|
/**
|
|
18
25
|
* The name of the organization
|
|
19
26
|
*
|
|
@@ -158,34 +165,40 @@ export declare class GeneralSettingsUpdateRequest extends Message<GeneralSetting
|
|
|
158
165
|
* @generated from field: bool auto_req_verify_on_exit_record_entry = 72;
|
|
159
166
|
*/
|
|
160
167
|
autoReqVerifyOnExitRecordEntry: boolean;
|
|
161
|
-
|
|
168
|
+
/**
|
|
169
|
+
* Stores the name of the organization that holds the license
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: string licensed_to = 100;
|
|
172
|
+
*/
|
|
173
|
+
licensedTo: string;
|
|
174
|
+
/**
|
|
175
|
+
* The list of dynamic forms
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: repeated Scailo.FormFieldDatum form_data = 200;
|
|
178
|
+
*/
|
|
179
|
+
formData: FormFieldDatum[];
|
|
180
|
+
constructor(data?: PartialMessage<GeneralSettings>);
|
|
162
181
|
static readonly runtime: typeof proto3;
|
|
163
|
-
static readonly typeName = "Scailo.
|
|
182
|
+
static readonly typeName = "Scailo.GeneralSettings";
|
|
164
183
|
static readonly fields: FieldList;
|
|
165
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
166
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
167
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
168
|
-
static equals(a:
|
|
184
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GeneralSettings;
|
|
185
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GeneralSettings;
|
|
186
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GeneralSettings;
|
|
187
|
+
static equals(a: GeneralSettings | PlainMessage<GeneralSettings> | undefined, b: GeneralSettings | PlainMessage<GeneralSettings> | undefined): boolean;
|
|
169
188
|
}
|
|
170
189
|
/**
|
|
171
190
|
*
|
|
172
|
-
* Describes the
|
|
191
|
+
* Describes the necessary data structure during creation of a general settings
|
|
173
192
|
*
|
|
174
|
-
* @generated from message Scailo.
|
|
193
|
+
* @generated from message Scailo.GeneralSettingsServiceCreateRequest
|
|
175
194
|
*/
|
|
176
|
-
export declare class
|
|
195
|
+
export declare class GeneralSettingsServiceCreateRequest extends Message<GeneralSettingsServiceCreateRequest> {
|
|
177
196
|
/**
|
|
178
197
|
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
179
198
|
*
|
|
180
199
|
* @generated from field: string entity_uuid = 1;
|
|
181
200
|
*/
|
|
182
201
|
entityUuid: string;
|
|
183
|
-
/**
|
|
184
|
-
* Stores the metadata of this sales order
|
|
185
|
-
*
|
|
186
|
-
* @generated from field: Scailo.EmployeeMetadata metadata = 2;
|
|
187
|
-
*/
|
|
188
|
-
metadata?: EmployeeMetadata;
|
|
189
202
|
/**
|
|
190
203
|
* The name of the organization
|
|
191
204
|
*
|
|
@@ -331,18 +344,18 @@ export declare class GeneralSettings extends Message<GeneralSettings> {
|
|
|
331
344
|
*/
|
|
332
345
|
autoReqVerifyOnExitRecordEntry: boolean;
|
|
333
346
|
/**
|
|
334
|
-
*
|
|
347
|
+
* The list of dynamic forms
|
|
335
348
|
*
|
|
336
|
-
* @generated from field:
|
|
349
|
+
* @generated from field: repeated Scailo.FormFieldDatumCreateRequest form_data = 200;
|
|
337
350
|
*/
|
|
338
|
-
|
|
339
|
-
constructor(data?: PartialMessage<
|
|
351
|
+
formData: FormFieldDatumCreateRequest[];
|
|
352
|
+
constructor(data?: PartialMessage<GeneralSettingsServiceCreateRequest>);
|
|
340
353
|
static readonly runtime: typeof proto3;
|
|
341
|
-
static readonly typeName = "Scailo.
|
|
354
|
+
static readonly typeName = "Scailo.GeneralSettingsServiceCreateRequest";
|
|
342
355
|
static readonly fields: FieldList;
|
|
343
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
344
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
345
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
346
|
-
static equals(a:
|
|
356
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GeneralSettingsServiceCreateRequest;
|
|
357
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GeneralSettingsServiceCreateRequest;
|
|
358
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GeneralSettingsServiceCreateRequest;
|
|
359
|
+
static equals(a: GeneralSettingsServiceCreateRequest | PlainMessage<GeneralSettingsServiceCreateRequest> | undefined, b: GeneralSettingsServiceCreateRequest | PlainMessage<GeneralSettingsServiceCreateRequest> | undefined): boolean;
|
|
347
360
|
}
|
|
348
361
|
//# sourceMappingURL=general_settings.scailo_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general_settings.scailo_pb.d.ts","sourceRoot":"","sources":["../../../../src/general_settings.scailo_pb.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"general_settings.scailo_pb.d.ts","sourceRoot":"","sources":["../../../../src/general_settings.scailo_pb.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/F;;;;;GAKG;AACH,qBAAa,eAAgB,SAAQ,OAAO,CAAC,eAAe,CAAC;IAC3D;;;;OAIG;IACH,UAAU,SAAM;IAEhB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAE5B;;;;OAIG;IACH,WAAW,SAAM;IAEjB;;;;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