@kernelminds/scailo-sdk 0.1.3 → 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 +14 -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 +14 -2
- 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 +14 -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 +14 -2
- 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,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;;;;OAIG;IACH,KAAK,SAAM;IAEX;;;;OAIG;IACH,KAAK,SAAM;IAEX;;;;OAIG;IACH,OAAO,SAAM;IAEb;;;;OAIG;IACH,IAAI,SAAM;IAEV;;;;OAIG;IACH,KAAK,SAAM;IAEX;;;;OAIG;IACH,OAAO,SAAM;IAEb;;;;OAIG;IACH,OAAO,SAAM;IAEb;;;;OAIG;IACH,GAAG,SAAM;IAET;;;;OAIG;IACH,GAAG,SAAM;IAET;;;;OAIG;IACH,KAAK,SAAM;IAEX;;;;OAIG;IACH,UAAU,SAAM;IAEhB;;;;OAIG;IACH,oBAAoB,SAAM;IAE1B;;;;OAIG;IACH,wBAAwB,SAAM;IAE9B;;;;OAIG;IACH,uBAAuB,SAAM;IAE7B;;;;OAIG;IACH,qBAAqB,SAAM;IAE3B;;;;OAIG;IACH,uBAAuB,SAAM;IAE7B;;;;OAIG;IACH,yBAAyB,SAAM;IAE/B;;;;OAIG;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C,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,mCAAmC;IAIlH,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,mCAAmC,GAAG,YAAY,CAAC,mCAAmC,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,mCAAmC,GAAG,YAAY,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAG,OAAO;CAGvO"}
|
|
@@ -476,6 +476,12 @@ var FORM_TYPE;
|
|
|
476
476
|
* @generated from enum value: FORM_TYPE_INFRASTRUCTURE_FORM = 750;
|
|
477
477
|
*/
|
|
478
478
|
FORM_TYPE[FORM_TYPE["FORM_TYPE_INFRASTRUCTURE_FORM"] = 750] = "FORM_TYPE_INFRASTRUCTURE_FORM";
|
|
479
|
+
/**
|
|
480
|
+
* The form type is "general-settings-form"
|
|
481
|
+
*
|
|
482
|
+
* @generated from enum value: FORM_TYPE_GENERAL_SETTINGS_FORM = 800;
|
|
483
|
+
*/
|
|
484
|
+
FORM_TYPE[FORM_TYPE["FORM_TYPE_GENERAL_SETTINGS_FORM"] = 800] = "FORM_TYPE_GENERAL_SETTINGS_FORM";
|
|
479
485
|
})(FORM_TYPE || (exports.FORM_TYPE = FORM_TYPE = {}));
|
|
480
486
|
// Retrieve enum metadata with: proto3.getEnumType(FORM_TYPE)
|
|
481
487
|
protobuf_1.proto3.util.setEnumType(FORM_TYPE, "Scailo.FORM_TYPE", [
|
|
@@ -539,6 +545,7 @@ protobuf_1.proto3.util.setEnumType(FORM_TYPE, "Scailo.FORM_TYPE", [
|
|
|
539
545
|
{ no: 730, name: "FORM_TYPE_MERCHANDISE_FORM" },
|
|
540
546
|
{ no: 740, name: "FORM_TYPE_EQUIPMENT_FORM" },
|
|
541
547
|
{ no: 750, name: "FORM_TYPE_INFRASTRUCTURE_FORM" },
|
|
548
|
+
{ no: 800, name: "FORM_TYPE_GENERAL_SETTINGS_FORM" },
|
|
542
549
|
]);
|
|
543
550
|
/**
|
|
544
551
|
*
|
|
@@ -608,6 +615,12 @@ var FORM_FIELD_ELEMENT;
|
|
|
608
615
|
* @generated from enum value: FORM_FIELD_ELEMENT_NUMBER = 90;
|
|
609
616
|
*/
|
|
610
617
|
FORM_FIELD_ELEMENT[FORM_FIELD_ELEMENT["FORM_FIELD_ELEMENT_NUMBER"] = 90] = "FORM_FIELD_ELEMENT_NUMBER";
|
|
618
|
+
/**
|
|
619
|
+
* The element is a URL
|
|
620
|
+
*
|
|
621
|
+
* @generated from enum value: FORM_FIELD_ELEMENT_URL = 100;
|
|
622
|
+
*/
|
|
623
|
+
FORM_FIELD_ELEMENT[FORM_FIELD_ELEMENT["FORM_FIELD_ELEMENT_URL"] = 100] = "FORM_FIELD_ELEMENT_URL";
|
|
611
624
|
})(FORM_FIELD_ELEMENT || (exports.FORM_FIELD_ELEMENT = FORM_FIELD_ELEMENT = {}));
|
|
612
625
|
// Retrieve enum metadata with: proto3.getEnumType(FORM_FIELD_ELEMENT)
|
|
613
626
|
protobuf_1.proto3.util.setEnumType(FORM_FIELD_ELEMENT, "Scailo.FORM_FIELD_ELEMENT", [
|
|
@@ -621,6 +634,7 @@ protobuf_1.proto3.util.setEnumType(FORM_FIELD_ELEMENT, "Scailo.FORM_FIELD_ELEMEN
|
|
|
621
634
|
{ no: 70, name: "FORM_FIELD_ELEMENT_EMAIL" },
|
|
622
635
|
{ no: 80, name: "FORM_FIELD_ELEMENT_PHONE" },
|
|
623
636
|
{ no: 90, name: "FORM_FIELD_ELEMENT_NUMBER" },
|
|
637
|
+
{ no: 100, name: "FORM_FIELD_ELEMENT_URL" },
|
|
624
638
|
]);
|
|
625
639
|
/**
|
|
626
640
|
*
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.GeneralSettingsService = void 0;
|
|
8
8
|
const general_settings_scailo_pb_js_1 = require("./general_settings.scailo_pb.js");
|
|
9
|
-
const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
|
|
10
9
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
|
+
const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
|
|
11
11
|
/**
|
|
12
12
|
*
|
|
13
|
-
* Describes the
|
|
13
|
+
* Describes the methods applicable on each general settings
|
|
14
14
|
*
|
|
15
15
|
* @generated from service Scailo.GeneralSettingsService
|
|
16
16
|
*/
|
|
@@ -18,24 +18,13 @@ exports.GeneralSettingsService = {
|
|
|
18
18
|
typeName: "Scailo.GeneralSettingsService",
|
|
19
19
|
methods: {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @generated from rpc Scailo.GeneralSettingsService.UpdateSettings
|
|
24
|
-
*/
|
|
25
|
-
updateSettings: {
|
|
26
|
-
name: "UpdateSettings",
|
|
27
|
-
I: general_settings_scailo_pb_js_1.GeneralSettingsUpdateRequest,
|
|
28
|
-
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
29
|
-
kind: protobuf_1.MethodKind.Unary,
|
|
30
|
-
},
|
|
31
|
-
/**
|
|
32
|
-
* View the current settings
|
|
21
|
+
* Create a general settings
|
|
33
22
|
*
|
|
34
|
-
* @generated from rpc Scailo.GeneralSettingsService.
|
|
23
|
+
* @generated from rpc Scailo.GeneralSettingsService.Create
|
|
35
24
|
*/
|
|
36
|
-
|
|
37
|
-
name: "
|
|
38
|
-
I:
|
|
25
|
+
create: {
|
|
26
|
+
name: "Create",
|
|
27
|
+
I: general_settings_scailo_pb_js_1.GeneralSettingsServiceCreateRequest,
|
|
39
28
|
O: general_settings_scailo_pb_js_1.GeneralSettings,
|
|
40
29
|
kind: protobuf_1.MethodKind.Unary,
|
|
41
30
|
},
|
|
@@ -61,5 +50,41 @@ exports.GeneralSettingsService = {
|
|
|
61
50
|
O: base_scailo_pb_js_1.ImageResponse,
|
|
62
51
|
kind: protobuf_1.MethodKind.Unary,
|
|
63
52
|
},
|
|
53
|
+
/**
|
|
54
|
+
* ------------------------------------------------------
|
|
55
|
+
* All view operations are listed below
|
|
56
|
+
* View the current settings
|
|
57
|
+
*
|
|
58
|
+
* @generated from rpc Scailo.GeneralSettingsService.ViewSettings
|
|
59
|
+
*/
|
|
60
|
+
viewSettings: {
|
|
61
|
+
name: "ViewSettings",
|
|
62
|
+
I: base_scailo_pb_js_1.Empty,
|
|
63
|
+
O: general_settings_scailo_pb_js_1.GeneralSettings,
|
|
64
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
65
|
+
},
|
|
66
|
+
/**
|
|
67
|
+
* CSV operations
|
|
68
|
+
* Download the CSV template that could be used to upload records
|
|
69
|
+
*
|
|
70
|
+
* @generated from rpc Scailo.GeneralSettingsService.DownloadImportTemplate
|
|
71
|
+
*/
|
|
72
|
+
downloadImportTemplate: {
|
|
73
|
+
name: "DownloadImportTemplate",
|
|
74
|
+
I: base_scailo_pb_js_1.Empty,
|
|
75
|
+
O: base_scailo_pb_js_1.StandardFile,
|
|
76
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
* Import records using a CSV file
|
|
80
|
+
*
|
|
81
|
+
* @generated from rpc Scailo.GeneralSettingsService.ImportFromCSV
|
|
82
|
+
*/
|
|
83
|
+
importFromCSV: {
|
|
84
|
+
name: "ImportFromCSV",
|
|
85
|
+
I: base_scailo_pb_js_1.StandardFile,
|
|
86
|
+
O: base_scailo_pb_js_1.IdentifierUUIDsList,
|
|
87
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
88
|
+
},
|
|
64
89
|
}
|
|
65
90
|
};
|
|
@@ -4,22 +4,29 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
7
|
+
exports.GeneralSettingsServiceCreateRequest = exports.GeneralSettings = void 0;
|
|
8
8
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
9
|
const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
|
|
10
|
+
const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
|
|
10
11
|
/**
|
|
11
12
|
*
|
|
12
|
-
* Describes the
|
|
13
|
+
* Describes the data structure of general settings on the platform
|
|
13
14
|
*
|
|
14
|
-
* @generated from message Scailo.
|
|
15
|
+
* @generated from message Scailo.GeneralSettings
|
|
15
16
|
*/
|
|
16
|
-
class
|
|
17
|
+
class GeneralSettings extends protobuf_1.Message {
|
|
17
18
|
/**
|
|
18
19
|
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
19
20
|
*
|
|
20
21
|
* @generated from field: string entity_uuid = 1;
|
|
21
22
|
*/
|
|
22
23
|
entityUuid = "";
|
|
24
|
+
/**
|
|
25
|
+
* Stores the metadata of this sales order
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: Scailo.EmployeeMetadata metadata = 2;
|
|
28
|
+
*/
|
|
29
|
+
metadata;
|
|
23
30
|
/**
|
|
24
31
|
* The name of the organization
|
|
25
32
|
*
|
|
@@ -164,14 +171,27 @@ class GeneralSettingsUpdateRequest extends protobuf_1.Message {
|
|
|
164
171
|
* @generated from field: bool auto_req_verify_on_exit_record_entry = 72;
|
|
165
172
|
*/
|
|
166
173
|
autoReqVerifyOnExitRecordEntry = false;
|
|
174
|
+
/**
|
|
175
|
+
* Stores the name of the organization that holds the license
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: string licensed_to = 100;
|
|
178
|
+
*/
|
|
179
|
+
licensedTo = "";
|
|
180
|
+
/**
|
|
181
|
+
* The list of dynamic forms
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: repeated Scailo.FormFieldDatum form_data = 200;
|
|
184
|
+
*/
|
|
185
|
+
formData = [];
|
|
167
186
|
constructor(data) {
|
|
168
187
|
super();
|
|
169
188
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
170
189
|
}
|
|
171
190
|
static runtime = protobuf_1.proto3;
|
|
172
|
-
static typeName = "Scailo.
|
|
191
|
+
static typeName = "Scailo.GeneralSettings";
|
|
173
192
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
174
193
|
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
194
|
+
{ no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
|
|
175
195
|
{ no: 10, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
176
196
|
{ no: 11, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
177
197
|
{ no: 12, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -196,40 +216,36 @@ class GeneralSettingsUpdateRequest extends protobuf_1.Message {
|
|
|
196
216
|
{ no: 70, name: "disable_vi_creation_with_bill_date_after_po_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
197
217
|
{ no: 71, name: "require_mfa_for_record_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
198
218
|
{ no: 72, name: "auto_req_verify_on_exit_record_entry", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
219
|
+
{ no: 100, name: "licensed_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
220
|
+
{ no: 200, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatum, repeated: true },
|
|
199
221
|
]);
|
|
200
222
|
static fromBinary(bytes, options) {
|
|
201
|
-
return new
|
|
223
|
+
return new GeneralSettings().fromBinary(bytes, options);
|
|
202
224
|
}
|
|
203
225
|
static fromJson(jsonValue, options) {
|
|
204
|
-
return new
|
|
226
|
+
return new GeneralSettings().fromJson(jsonValue, options);
|
|
205
227
|
}
|
|
206
228
|
static fromJsonString(jsonString, options) {
|
|
207
|
-
return new
|
|
229
|
+
return new GeneralSettings().fromJsonString(jsonString, options);
|
|
208
230
|
}
|
|
209
231
|
static equals(a, b) {
|
|
210
|
-
return protobuf_1.proto3.util.equals(
|
|
232
|
+
return protobuf_1.proto3.util.equals(GeneralSettings, a, b);
|
|
211
233
|
}
|
|
212
234
|
}
|
|
213
|
-
exports.
|
|
235
|
+
exports.GeneralSettings = GeneralSettings;
|
|
214
236
|
/**
|
|
215
237
|
*
|
|
216
|
-
* Describes the
|
|
238
|
+
* Describes the necessary data structure during creation of a general settings
|
|
217
239
|
*
|
|
218
|
-
* @generated from message Scailo.
|
|
240
|
+
* @generated from message Scailo.GeneralSettingsServiceCreateRequest
|
|
219
241
|
*/
|
|
220
|
-
class
|
|
242
|
+
class GeneralSettingsServiceCreateRequest extends protobuf_1.Message {
|
|
221
243
|
/**
|
|
222
244
|
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
223
245
|
*
|
|
224
246
|
* @generated from field: string entity_uuid = 1;
|
|
225
247
|
*/
|
|
226
248
|
entityUuid = "";
|
|
227
|
-
/**
|
|
228
|
-
* Stores the metadata of this sales order
|
|
229
|
-
*
|
|
230
|
-
* @generated from field: Scailo.EmployeeMetadata metadata = 2;
|
|
231
|
-
*/
|
|
232
|
-
metadata;
|
|
233
249
|
/**
|
|
234
250
|
* The name of the organization
|
|
235
251
|
*
|
|
@@ -375,20 +391,19 @@ class GeneralSettings extends protobuf_1.Message {
|
|
|
375
391
|
*/
|
|
376
392
|
autoReqVerifyOnExitRecordEntry = false;
|
|
377
393
|
/**
|
|
378
|
-
*
|
|
394
|
+
* The list of dynamic forms
|
|
379
395
|
*
|
|
380
|
-
* @generated from field:
|
|
396
|
+
* @generated from field: repeated Scailo.FormFieldDatumCreateRequest form_data = 200;
|
|
381
397
|
*/
|
|
382
|
-
|
|
398
|
+
formData = [];
|
|
383
399
|
constructor(data) {
|
|
384
400
|
super();
|
|
385
401
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
386
402
|
}
|
|
387
403
|
static runtime = protobuf_1.proto3;
|
|
388
|
-
static typeName = "Scailo.
|
|
404
|
+
static typeName = "Scailo.GeneralSettingsServiceCreateRequest";
|
|
389
405
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
390
406
|
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
391
|
-
{ no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
|
|
392
407
|
{ no: 10, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
393
408
|
{ no: 11, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
394
409
|
{ no: 12, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -413,19 +428,19 @@ class GeneralSettings extends protobuf_1.Message {
|
|
|
413
428
|
{ no: 70, name: "disable_vi_creation_with_bill_date_after_po_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
414
429
|
{ no: 71, name: "require_mfa_for_record_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
415
430
|
{ no: 72, name: "auto_req_verify_on_exit_record_entry", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
416
|
-
{ no:
|
|
431
|
+
{ no: 200, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumCreateRequest, repeated: true },
|
|
417
432
|
]);
|
|
418
433
|
static fromBinary(bytes, options) {
|
|
419
|
-
return new
|
|
434
|
+
return new GeneralSettingsServiceCreateRequest().fromBinary(bytes, options);
|
|
420
435
|
}
|
|
421
436
|
static fromJson(jsonValue, options) {
|
|
422
|
-
return new
|
|
437
|
+
return new GeneralSettingsServiceCreateRequest().fromJson(jsonValue, options);
|
|
423
438
|
}
|
|
424
439
|
static fromJsonString(jsonString, options) {
|
|
425
|
-
return new
|
|
440
|
+
return new GeneralSettingsServiceCreateRequest().fromJsonString(jsonString, options);
|
|
426
441
|
}
|
|
427
442
|
static equals(a, b) {
|
|
428
|
-
return protobuf_1.proto3.util.equals(
|
|
443
|
+
return protobuf_1.proto3.util.equals(GeneralSettingsServiceCreateRequest, a, b);
|
|
429
444
|
}
|
|
430
445
|
}
|
|
431
|
-
exports.
|
|
446
|
+
exports.GeneralSettingsServiceCreateRequest = GeneralSettingsServiceCreateRequest;
|
|
@@ -448,7 +448,13 @@ export declare enum FORM_TYPE {
|
|
|
448
448
|
*
|
|
449
449
|
* @generated from enum value: FORM_TYPE_INFRASTRUCTURE_FORM = 750;
|
|
450
450
|
*/
|
|
451
|
-
FORM_TYPE_INFRASTRUCTURE_FORM = 750
|
|
451
|
+
FORM_TYPE_INFRASTRUCTURE_FORM = 750,
|
|
452
|
+
/**
|
|
453
|
+
* The form type is "general-settings-form"
|
|
454
|
+
*
|
|
455
|
+
* @generated from enum value: FORM_TYPE_GENERAL_SETTINGS_FORM = 800;
|
|
456
|
+
*/
|
|
457
|
+
FORM_TYPE_GENERAL_SETTINGS_FORM = 800
|
|
452
458
|
}
|
|
453
459
|
/**
|
|
454
460
|
*
|
|
@@ -516,7 +522,13 @@ export declare enum FORM_FIELD_ELEMENT {
|
|
|
516
522
|
*
|
|
517
523
|
* @generated from enum value: FORM_FIELD_ELEMENT_NUMBER = 90;
|
|
518
524
|
*/
|
|
519
|
-
FORM_FIELD_ELEMENT_NUMBER = 90
|
|
525
|
+
FORM_FIELD_ELEMENT_NUMBER = 90,
|
|
526
|
+
/**
|
|
527
|
+
* The element is a URL
|
|
528
|
+
*
|
|
529
|
+
* @generated from enum value: FORM_FIELD_ELEMENT_URL = 100;
|
|
530
|
+
*/
|
|
531
|
+
FORM_FIELD_ELEMENT_URL = 100
|
|
520
532
|
}
|
|
521
533
|
/**
|
|
522
534
|
*
|