@sprucelabs/mercury-core-events 27.0.53 → 27.0.55
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/build/.spruce/schemas/mercury/v2020_12_25/updateOrgResponsePayload.schema.js +2 -2
- package/build/.spruce/schemas/schemas.types.d.ts +123 -183
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/updateOrgResponsePayload.schema.js +2 -2
- package/build/esm/.spruce/schemas/schemas.types.d.ts +123 -183
- package/package.json +1 -1
- package/build/.spruce/schemas/mercury/v2020_12_25/updateOrg.schema.d.ts +0 -3
- package/build/.spruce/schemas/mercury/v2020_12_25/updateOrg.schema.js +0 -49
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/updateOrg.schema.d.ts +0 -3
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/updateOrg.schema.js +0 -47
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const schema_1 = require("@sprucelabs/schema");
|
|
7
|
-
const
|
|
7
|
+
const organization_schema_1 = __importDefault(require("./../../spruce/v2020_07_22/organization.schema"));
|
|
8
8
|
const updateOrgResponsePayloadSchema = {
|
|
9
9
|
id: 'updateOrgResponsePayload',
|
|
10
10
|
version: 'v2020_12_25',
|
|
@@ -15,7 +15,7 @@ const updateOrgResponsePayloadSchema = {
|
|
|
15
15
|
'organization': {
|
|
16
16
|
type: 'schema',
|
|
17
17
|
isRequired: true,
|
|
18
|
-
options: { schema:
|
|
18
|
+
options: { schema: organization_schema_1.default, }
|
|
19
19
|
},
|
|
20
20
|
}
|
|
21
21
|
};
|
|
@@ -941,6 +941,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
941
941
|
interface DidUpdateAuthorizerStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTargetSchema> {
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
945
|
+
interface DidUpdateAuthorizerStatusEmitTargetAndPayload {
|
|
946
|
+
/** Source. */
|
|
947
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
948
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTarget | undefined | null;
|
|
949
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitPayload;
|
|
950
|
+
}
|
|
951
|
+
interface DidUpdateAuthorizerStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
952
|
+
id: 'didUpdateAuthorizerStatusEmitTargetAndPayload';
|
|
953
|
+
version: 'v2020_12_25';
|
|
954
|
+
namespace: 'Mercury';
|
|
955
|
+
name: '';
|
|
956
|
+
fields: {
|
|
957
|
+
/** Source. */
|
|
958
|
+
'source': {
|
|
959
|
+
label: 'Source';
|
|
960
|
+
type: 'schema';
|
|
961
|
+
options: {
|
|
962
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
/** . */
|
|
966
|
+
'target': {
|
|
967
|
+
type: 'schema';
|
|
968
|
+
options: {
|
|
969
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTargetSchema;
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
/** . */
|
|
973
|
+
'payload': {
|
|
974
|
+
type: 'schema';
|
|
975
|
+
isRequired: true;
|
|
976
|
+
options: {
|
|
977
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitPayloadSchema;
|
|
978
|
+
};
|
|
979
|
+
};
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
interface DidUpdateAuthorizerStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTargetAndPayloadSchema> {
|
|
983
|
+
}
|
|
984
|
+
}
|
|
944
985
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
945
986
|
interface UpdateAuthorizerStatusPerson {
|
|
946
987
|
'id': string;
|
|
@@ -1015,47 +1056,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1015
1056
|
interface DidUpdateAuthorizerStatusEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitPayloadSchema> {
|
|
1016
1057
|
}
|
|
1017
1058
|
}
|
|
1018
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1019
|
-
interface DidUpdateAuthorizerStatusEmitTargetAndPayload {
|
|
1020
|
-
/** Source. */
|
|
1021
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1022
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTarget | undefined | null;
|
|
1023
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitPayload;
|
|
1024
|
-
}
|
|
1025
|
-
interface DidUpdateAuthorizerStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1026
|
-
id: 'didUpdateAuthorizerStatusEmitTargetAndPayload';
|
|
1027
|
-
version: 'v2020_12_25';
|
|
1028
|
-
namespace: 'Mercury';
|
|
1029
|
-
name: '';
|
|
1030
|
-
fields: {
|
|
1031
|
-
/** Source. */
|
|
1032
|
-
'source': {
|
|
1033
|
-
label: 'Source';
|
|
1034
|
-
type: 'schema';
|
|
1035
|
-
options: {
|
|
1036
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1037
|
-
};
|
|
1038
|
-
};
|
|
1039
|
-
/** . */
|
|
1040
|
-
'target': {
|
|
1041
|
-
type: 'schema';
|
|
1042
|
-
options: {
|
|
1043
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTargetSchema;
|
|
1044
|
-
};
|
|
1045
|
-
};
|
|
1046
|
-
/** . */
|
|
1047
|
-
'payload': {
|
|
1048
|
-
type: 'schema';
|
|
1049
|
-
isRequired: true;
|
|
1050
|
-
options: {
|
|
1051
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitPayloadSchema;
|
|
1052
|
-
};
|
|
1053
|
-
};
|
|
1054
|
-
};
|
|
1055
|
-
}
|
|
1056
|
-
interface DidUpdateAuthorizerStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTargetAndPayloadSchema> {
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
1059
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1060
1060
|
interface DidUpdateFeedEmitTarget {
|
|
1061
1061
|
'locationId'?: string | undefined | null;
|
|
@@ -3648,29 +3648,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3648
3648
|
interface GetResolvedPermissionsContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractEmitTargetAndPayloadSchema> {
|
|
3649
3649
|
}
|
|
3650
3650
|
}
|
|
3651
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3652
|
-
interface GetResolvedPermissionsContractRespondPayload {
|
|
3653
|
-
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
3654
|
-
}
|
|
3655
|
-
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
3656
|
-
id: 'getResolvedPermissionsContractRespondPayload';
|
|
3657
|
-
version: 'v2020_12_25';
|
|
3658
|
-
namespace: 'Mercury';
|
|
3659
|
-
name: '';
|
|
3660
|
-
fields: {
|
|
3661
|
-
/** . */
|
|
3662
|
-
'resolvedContract': {
|
|
3663
|
-
type: 'schema';
|
|
3664
|
-
isRequired: true;
|
|
3665
|
-
options: {
|
|
3666
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
3667
|
-
};
|
|
3668
|
-
};
|
|
3669
|
-
};
|
|
3670
|
-
}
|
|
3671
|
-
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
3672
|
-
}
|
|
3673
|
-
}
|
|
3674
3651
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3675
3652
|
interface ResolvedContractPermission {
|
|
3676
3653
|
'id': string;
|
|
@@ -3740,6 +3717,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3740
3717
|
interface ResolvedContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema> {
|
|
3741
3718
|
}
|
|
3742
3719
|
}
|
|
3720
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3721
|
+
interface GetResolvedPermissionsContractRespondPayload {
|
|
3722
|
+
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
3723
|
+
}
|
|
3724
|
+
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
3725
|
+
id: 'getResolvedPermissionsContractRespondPayload';
|
|
3726
|
+
version: 'v2020_12_25';
|
|
3727
|
+
namespace: 'Mercury';
|
|
3728
|
+
name: '';
|
|
3729
|
+
fields: {
|
|
3730
|
+
/** . */
|
|
3731
|
+
'resolvedContract': {
|
|
3732
|
+
type: 'schema';
|
|
3733
|
+
isRequired: true;
|
|
3734
|
+
options: {
|
|
3735
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
3736
|
+
};
|
|
3737
|
+
};
|
|
3738
|
+
};
|
|
3739
|
+
}
|
|
3740
|
+
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
3743
3743
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3744
3744
|
interface GetRoleEmitTarget {
|
|
3745
3745
|
'roleId': string;
|
|
@@ -6807,39 +6807,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6807
6807
|
interface SavePermissionsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetSchema> {
|
|
6808
6808
|
}
|
|
6809
6809
|
}
|
|
6810
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6811
|
-
interface SavePermissionsPermission {
|
|
6812
|
-
/** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
|
|
6813
|
-
'id': string;
|
|
6814
|
-
'can': SpruceSchemas.Mercury.v2020_12_25.StatusFlags;
|
|
6815
|
-
}
|
|
6816
|
-
interface SavePermissionsPermissionSchema extends SpruceSchema.Schema {
|
|
6817
|
-
id: 'savePermissionsPermission';
|
|
6818
|
-
version: 'v2020_12_25';
|
|
6819
|
-
namespace: 'Mercury';
|
|
6820
|
-
name: '';
|
|
6821
|
-
fields: {
|
|
6822
|
-
/** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
|
|
6823
|
-
'id': {
|
|
6824
|
-
label: 'id';
|
|
6825
|
-
type: 'text';
|
|
6826
|
-
isRequired: true;
|
|
6827
|
-
hint: 'Hyphen separated id for this permission, e.g. can-unlock-doors';
|
|
6828
|
-
options: undefined;
|
|
6829
|
-
};
|
|
6830
|
-
/** . */
|
|
6831
|
-
'can': {
|
|
6832
|
-
type: 'schema';
|
|
6833
|
-
isRequired: true;
|
|
6834
|
-
options: {
|
|
6835
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.StatusFlagsSchema;
|
|
6836
|
-
};
|
|
6837
|
-
};
|
|
6838
|
-
};
|
|
6839
|
-
}
|
|
6840
|
-
interface SavePermissionsPermissionEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema> {
|
|
6841
|
-
}
|
|
6842
|
-
}
|
|
6843
6810
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6844
6811
|
interface SavePermissionsEmitPayload {
|
|
6845
6812
|
'permissions': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermission[];
|
|
@@ -6907,6 +6874,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6907
6874
|
interface SavePermissionsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetAndPayloadSchema> {
|
|
6908
6875
|
}
|
|
6909
6876
|
}
|
|
6877
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6878
|
+
interface SavePermissionsPermission {
|
|
6879
|
+
/** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
|
|
6880
|
+
'id': string;
|
|
6881
|
+
'can': SpruceSchemas.Mercury.v2020_12_25.StatusFlags;
|
|
6882
|
+
}
|
|
6883
|
+
interface SavePermissionsPermissionSchema extends SpruceSchema.Schema {
|
|
6884
|
+
id: 'savePermissionsPermission';
|
|
6885
|
+
version: 'v2020_12_25';
|
|
6886
|
+
namespace: 'Mercury';
|
|
6887
|
+
name: '';
|
|
6888
|
+
fields: {
|
|
6889
|
+
/** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
|
|
6890
|
+
'id': {
|
|
6891
|
+
label: 'id';
|
|
6892
|
+
type: 'text';
|
|
6893
|
+
isRequired: true;
|
|
6894
|
+
hint: 'Hyphen separated id for this permission, e.g. can-unlock-doors';
|
|
6895
|
+
options: undefined;
|
|
6896
|
+
};
|
|
6897
|
+
/** . */
|
|
6898
|
+
'can': {
|
|
6899
|
+
type: 'schema';
|
|
6900
|
+
isRequired: true;
|
|
6901
|
+
options: {
|
|
6902
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.StatusFlagsSchema;
|
|
6903
|
+
};
|
|
6904
|
+
};
|
|
6905
|
+
};
|
|
6906
|
+
}
|
|
6907
|
+
interface SavePermissionsPermissionEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema> {
|
|
6908
|
+
}
|
|
6909
|
+
}
|
|
6910
6910
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6911
6911
|
interface SavePermissionsResponsePayload {
|
|
6912
6912
|
'success': boolean;
|
|
@@ -7586,30 +7586,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7586
7586
|
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
7587
7587
|
}
|
|
7588
7588
|
}
|
|
7589
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7590
|
-
interface SyncEventContractsEmitPayload {
|
|
7591
|
-
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
7592
|
-
}
|
|
7593
|
-
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
7594
|
-
id: 'syncEventContractsEmitPayload';
|
|
7595
|
-
version: 'v2020_12_25';
|
|
7596
|
-
namespace: 'Mercury';
|
|
7597
|
-
name: '';
|
|
7598
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
7599
|
-
fields: {
|
|
7600
|
-
/** . */
|
|
7601
|
-
'contract': {
|
|
7602
|
-
type: 'schema';
|
|
7603
|
-
isRequired: true;
|
|
7604
|
-
options: {
|
|
7605
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
7606
|
-
};
|
|
7607
|
-
};
|
|
7608
|
-
};
|
|
7609
|
-
}
|
|
7610
|
-
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
7611
|
-
}
|
|
7612
|
-
}
|
|
7613
7589
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7614
7590
|
interface SyncEventContractsEmitTargetAndPayload {
|
|
7615
7591
|
/** Source. */
|
|
@@ -7643,6 +7619,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7643
7619
|
interface SyncEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitTargetAndPayloadSchema> {
|
|
7644
7620
|
}
|
|
7645
7621
|
}
|
|
7622
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7623
|
+
interface SyncEventContractsEmitPayload {
|
|
7624
|
+
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
7625
|
+
}
|
|
7626
|
+
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
7627
|
+
id: 'syncEventContractsEmitPayload';
|
|
7628
|
+
version: 'v2020_12_25';
|
|
7629
|
+
namespace: 'Mercury';
|
|
7630
|
+
name: '';
|
|
7631
|
+
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
7632
|
+
fields: {
|
|
7633
|
+
/** . */
|
|
7634
|
+
'contract': {
|
|
7635
|
+
type: 'schema';
|
|
7636
|
+
isRequired: true;
|
|
7637
|
+
options: {
|
|
7638
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
7639
|
+
};
|
|
7640
|
+
};
|
|
7641
|
+
};
|
|
7642
|
+
}
|
|
7643
|
+
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
7644
|
+
}
|
|
7645
|
+
}
|
|
7646
7646
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7647
7647
|
interface SyncEventContractsResponsePayload {
|
|
7648
7648
|
/** Event names. */
|
|
@@ -8561,69 +8561,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8561
8561
|
interface UpdateOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateOrganizationEmitTargetAndPayloadSchema> {
|
|
8562
8562
|
}
|
|
8563
8563
|
}
|
|
8564
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8565
|
-
interface UpdateOrg {
|
|
8566
|
-
/** Name. */
|
|
8567
|
-
'name'?: string | undefined | null;
|
|
8568
|
-
/** Address. */
|
|
8569
|
-
'address'?: SpruceSchema.AddressFieldValue | undefined | null;
|
|
8570
|
-
/** Slug. */
|
|
8571
|
-
'slug'?: string | undefined | null;
|
|
8572
|
-
/** Public. Is this organization viewable by guests? */
|
|
8573
|
-
'isPublic'?: boolean | undefined | null;
|
|
8574
|
-
'dateCreated'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
8575
|
-
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
8576
|
-
}
|
|
8577
|
-
interface UpdateOrgSchema extends SpruceSchema.Schema {
|
|
8578
|
-
id: 'updateOrg';
|
|
8579
|
-
version: 'v2020_12_25';
|
|
8580
|
-
namespace: 'Mercury';
|
|
8581
|
-
name: '';
|
|
8582
|
-
fields: {
|
|
8583
|
-
/** Name. */
|
|
8584
|
-
'name': {
|
|
8585
|
-
label: 'Name';
|
|
8586
|
-
type: 'text';
|
|
8587
|
-
options: undefined;
|
|
8588
|
-
};
|
|
8589
|
-
/** Address. */
|
|
8590
|
-
'address': {
|
|
8591
|
-
label: 'Address';
|
|
8592
|
-
type: 'address';
|
|
8593
|
-
options: undefined;
|
|
8594
|
-
};
|
|
8595
|
-
/** Slug. */
|
|
8596
|
-
'slug': {
|
|
8597
|
-
label: 'Slug';
|
|
8598
|
-
type: 'text';
|
|
8599
|
-
options: undefined;
|
|
8600
|
-
};
|
|
8601
|
-
/** Public. Is this organization viewable by guests? */
|
|
8602
|
-
'isPublic': {
|
|
8603
|
-
label: 'Public';
|
|
8604
|
-
type: 'boolean';
|
|
8605
|
-
hint: 'Is this organization viewable by guests?';
|
|
8606
|
-
defaultValue: false;
|
|
8607
|
-
options: undefined;
|
|
8608
|
-
};
|
|
8609
|
-
/** . */
|
|
8610
|
-
'dateCreated': {
|
|
8611
|
-
type: 'dateTime';
|
|
8612
|
-
options: undefined;
|
|
8613
|
-
};
|
|
8614
|
-
/** . */
|
|
8615
|
-
'dateDeleted': {
|
|
8616
|
-
type: 'dateTime';
|
|
8617
|
-
options: undefined;
|
|
8618
|
-
};
|
|
8619
|
-
};
|
|
8620
|
-
}
|
|
8621
|
-
interface UpdateOrgEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateOrgSchema> {
|
|
8622
|
-
}
|
|
8623
|
-
}
|
|
8624
8564
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8625
8565
|
interface UpdateOrgResponsePayload {
|
|
8626
|
-
'organization': SpruceSchemas.
|
|
8566
|
+
'organization': SpruceSchemas.Spruce.v2020_07_22.Organization;
|
|
8627
8567
|
}
|
|
8628
8568
|
interface UpdateOrgResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8629
8569
|
id: 'updateOrgResponsePayload';
|
|
@@ -8636,7 +8576,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8636
8576
|
type: 'schema';
|
|
8637
8577
|
isRequired: true;
|
|
8638
8578
|
options: {
|
|
8639
|
-
schema: SpruceSchemas.
|
|
8579
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.OrganizationSchema;
|
|
8640
8580
|
};
|
|
8641
8581
|
};
|
|
8642
8582
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
-
import
|
|
2
|
+
import organizationSchema_v2020_07_22 from './../../spruce/v2020_07_22/organization.schema.js';
|
|
3
3
|
const updateOrgResponsePayloadSchema = {
|
|
4
4
|
id: 'updateOrgResponsePayload',
|
|
5
5
|
version: 'v2020_12_25',
|
|
@@ -10,7 +10,7 @@ const updateOrgResponsePayloadSchema = {
|
|
|
10
10
|
'organization': {
|
|
11
11
|
type: 'schema',
|
|
12
12
|
isRequired: true,
|
|
13
|
-
options: { schema:
|
|
13
|
+
options: { schema: organizationSchema_v2020_07_22, }
|
|
14
14
|
},
|
|
15
15
|
}
|
|
16
16
|
};
|
|
@@ -941,6 +941,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
941
941
|
interface DidUpdateAuthorizerStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTargetSchema> {
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
945
|
+
interface DidUpdateAuthorizerStatusEmitTargetAndPayload {
|
|
946
|
+
/** Source. */
|
|
947
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
948
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTarget | undefined | null;
|
|
949
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitPayload;
|
|
950
|
+
}
|
|
951
|
+
interface DidUpdateAuthorizerStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
952
|
+
id: 'didUpdateAuthorizerStatusEmitTargetAndPayload';
|
|
953
|
+
version: 'v2020_12_25';
|
|
954
|
+
namespace: 'Mercury';
|
|
955
|
+
name: '';
|
|
956
|
+
fields: {
|
|
957
|
+
/** Source. */
|
|
958
|
+
'source': {
|
|
959
|
+
label: 'Source';
|
|
960
|
+
type: 'schema';
|
|
961
|
+
options: {
|
|
962
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
/** . */
|
|
966
|
+
'target': {
|
|
967
|
+
type: 'schema';
|
|
968
|
+
options: {
|
|
969
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTargetSchema;
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
/** . */
|
|
973
|
+
'payload': {
|
|
974
|
+
type: 'schema';
|
|
975
|
+
isRequired: true;
|
|
976
|
+
options: {
|
|
977
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitPayloadSchema;
|
|
978
|
+
};
|
|
979
|
+
};
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
interface DidUpdateAuthorizerStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTargetAndPayloadSchema> {
|
|
983
|
+
}
|
|
984
|
+
}
|
|
944
985
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
945
986
|
interface UpdateAuthorizerStatusPerson {
|
|
946
987
|
'id': string;
|
|
@@ -1015,47 +1056,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1015
1056
|
interface DidUpdateAuthorizerStatusEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitPayloadSchema> {
|
|
1016
1057
|
}
|
|
1017
1058
|
}
|
|
1018
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1019
|
-
interface DidUpdateAuthorizerStatusEmitTargetAndPayload {
|
|
1020
|
-
/** Source. */
|
|
1021
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1022
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTarget | undefined | null;
|
|
1023
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitPayload;
|
|
1024
|
-
}
|
|
1025
|
-
interface DidUpdateAuthorizerStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1026
|
-
id: 'didUpdateAuthorizerStatusEmitTargetAndPayload';
|
|
1027
|
-
version: 'v2020_12_25';
|
|
1028
|
-
namespace: 'Mercury';
|
|
1029
|
-
name: '';
|
|
1030
|
-
fields: {
|
|
1031
|
-
/** Source. */
|
|
1032
|
-
'source': {
|
|
1033
|
-
label: 'Source';
|
|
1034
|
-
type: 'schema';
|
|
1035
|
-
options: {
|
|
1036
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1037
|
-
};
|
|
1038
|
-
};
|
|
1039
|
-
/** . */
|
|
1040
|
-
'target': {
|
|
1041
|
-
type: 'schema';
|
|
1042
|
-
options: {
|
|
1043
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTargetSchema;
|
|
1044
|
-
};
|
|
1045
|
-
};
|
|
1046
|
-
/** . */
|
|
1047
|
-
'payload': {
|
|
1048
|
-
type: 'schema';
|
|
1049
|
-
isRequired: true;
|
|
1050
|
-
options: {
|
|
1051
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitPayloadSchema;
|
|
1052
|
-
};
|
|
1053
|
-
};
|
|
1054
|
-
};
|
|
1055
|
-
}
|
|
1056
|
-
interface DidUpdateAuthorizerStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateAuthorizerStatusEmitTargetAndPayloadSchema> {
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
1059
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1060
1060
|
interface DidUpdateFeedEmitTarget {
|
|
1061
1061
|
'locationId'?: string | undefined | null;
|
|
@@ -3648,29 +3648,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3648
3648
|
interface GetResolvedPermissionsContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractEmitTargetAndPayloadSchema> {
|
|
3649
3649
|
}
|
|
3650
3650
|
}
|
|
3651
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3652
|
-
interface GetResolvedPermissionsContractRespondPayload {
|
|
3653
|
-
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
3654
|
-
}
|
|
3655
|
-
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
3656
|
-
id: 'getResolvedPermissionsContractRespondPayload';
|
|
3657
|
-
version: 'v2020_12_25';
|
|
3658
|
-
namespace: 'Mercury';
|
|
3659
|
-
name: '';
|
|
3660
|
-
fields: {
|
|
3661
|
-
/** . */
|
|
3662
|
-
'resolvedContract': {
|
|
3663
|
-
type: 'schema';
|
|
3664
|
-
isRequired: true;
|
|
3665
|
-
options: {
|
|
3666
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
3667
|
-
};
|
|
3668
|
-
};
|
|
3669
|
-
};
|
|
3670
|
-
}
|
|
3671
|
-
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
3672
|
-
}
|
|
3673
|
-
}
|
|
3674
3651
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3675
3652
|
interface ResolvedContractPermission {
|
|
3676
3653
|
'id': string;
|
|
@@ -3740,6 +3717,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3740
3717
|
interface ResolvedContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema> {
|
|
3741
3718
|
}
|
|
3742
3719
|
}
|
|
3720
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3721
|
+
interface GetResolvedPermissionsContractRespondPayload {
|
|
3722
|
+
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
3723
|
+
}
|
|
3724
|
+
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
3725
|
+
id: 'getResolvedPermissionsContractRespondPayload';
|
|
3726
|
+
version: 'v2020_12_25';
|
|
3727
|
+
namespace: 'Mercury';
|
|
3728
|
+
name: '';
|
|
3729
|
+
fields: {
|
|
3730
|
+
/** . */
|
|
3731
|
+
'resolvedContract': {
|
|
3732
|
+
type: 'schema';
|
|
3733
|
+
isRequired: true;
|
|
3734
|
+
options: {
|
|
3735
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
3736
|
+
};
|
|
3737
|
+
};
|
|
3738
|
+
};
|
|
3739
|
+
}
|
|
3740
|
+
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
3743
3743
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3744
3744
|
interface GetRoleEmitTarget {
|
|
3745
3745
|
'roleId': string;
|
|
@@ -6807,39 +6807,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6807
6807
|
interface SavePermissionsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetSchema> {
|
|
6808
6808
|
}
|
|
6809
6809
|
}
|
|
6810
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6811
|
-
interface SavePermissionsPermission {
|
|
6812
|
-
/** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
|
|
6813
|
-
'id': string;
|
|
6814
|
-
'can': SpruceSchemas.Mercury.v2020_12_25.StatusFlags;
|
|
6815
|
-
}
|
|
6816
|
-
interface SavePermissionsPermissionSchema extends SpruceSchema.Schema {
|
|
6817
|
-
id: 'savePermissionsPermission';
|
|
6818
|
-
version: 'v2020_12_25';
|
|
6819
|
-
namespace: 'Mercury';
|
|
6820
|
-
name: '';
|
|
6821
|
-
fields: {
|
|
6822
|
-
/** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
|
|
6823
|
-
'id': {
|
|
6824
|
-
label: 'id';
|
|
6825
|
-
type: 'text';
|
|
6826
|
-
isRequired: true;
|
|
6827
|
-
hint: 'Hyphen separated id for this permission, e.g. can-unlock-doors';
|
|
6828
|
-
options: undefined;
|
|
6829
|
-
};
|
|
6830
|
-
/** . */
|
|
6831
|
-
'can': {
|
|
6832
|
-
type: 'schema';
|
|
6833
|
-
isRequired: true;
|
|
6834
|
-
options: {
|
|
6835
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.StatusFlagsSchema;
|
|
6836
|
-
};
|
|
6837
|
-
};
|
|
6838
|
-
};
|
|
6839
|
-
}
|
|
6840
|
-
interface SavePermissionsPermissionEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema> {
|
|
6841
|
-
}
|
|
6842
|
-
}
|
|
6843
6810
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6844
6811
|
interface SavePermissionsEmitPayload {
|
|
6845
6812
|
'permissions': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermission[];
|
|
@@ -6907,6 +6874,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6907
6874
|
interface SavePermissionsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetAndPayloadSchema> {
|
|
6908
6875
|
}
|
|
6909
6876
|
}
|
|
6877
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6878
|
+
interface SavePermissionsPermission {
|
|
6879
|
+
/** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
|
|
6880
|
+
'id': string;
|
|
6881
|
+
'can': SpruceSchemas.Mercury.v2020_12_25.StatusFlags;
|
|
6882
|
+
}
|
|
6883
|
+
interface SavePermissionsPermissionSchema extends SpruceSchema.Schema {
|
|
6884
|
+
id: 'savePermissionsPermission';
|
|
6885
|
+
version: 'v2020_12_25';
|
|
6886
|
+
namespace: 'Mercury';
|
|
6887
|
+
name: '';
|
|
6888
|
+
fields: {
|
|
6889
|
+
/** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
|
|
6890
|
+
'id': {
|
|
6891
|
+
label: 'id';
|
|
6892
|
+
type: 'text';
|
|
6893
|
+
isRequired: true;
|
|
6894
|
+
hint: 'Hyphen separated id for this permission, e.g. can-unlock-doors';
|
|
6895
|
+
options: undefined;
|
|
6896
|
+
};
|
|
6897
|
+
/** . */
|
|
6898
|
+
'can': {
|
|
6899
|
+
type: 'schema';
|
|
6900
|
+
isRequired: true;
|
|
6901
|
+
options: {
|
|
6902
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.StatusFlagsSchema;
|
|
6903
|
+
};
|
|
6904
|
+
};
|
|
6905
|
+
};
|
|
6906
|
+
}
|
|
6907
|
+
interface SavePermissionsPermissionEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema> {
|
|
6908
|
+
}
|
|
6909
|
+
}
|
|
6910
6910
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6911
6911
|
interface SavePermissionsResponsePayload {
|
|
6912
6912
|
'success': boolean;
|
|
@@ -7586,30 +7586,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7586
7586
|
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
7587
7587
|
}
|
|
7588
7588
|
}
|
|
7589
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7590
|
-
interface SyncEventContractsEmitPayload {
|
|
7591
|
-
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
7592
|
-
}
|
|
7593
|
-
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
7594
|
-
id: 'syncEventContractsEmitPayload';
|
|
7595
|
-
version: 'v2020_12_25';
|
|
7596
|
-
namespace: 'Mercury';
|
|
7597
|
-
name: '';
|
|
7598
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
7599
|
-
fields: {
|
|
7600
|
-
/** . */
|
|
7601
|
-
'contract': {
|
|
7602
|
-
type: 'schema';
|
|
7603
|
-
isRequired: true;
|
|
7604
|
-
options: {
|
|
7605
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
7606
|
-
};
|
|
7607
|
-
};
|
|
7608
|
-
};
|
|
7609
|
-
}
|
|
7610
|
-
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
7611
|
-
}
|
|
7612
|
-
}
|
|
7613
7589
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7614
7590
|
interface SyncEventContractsEmitTargetAndPayload {
|
|
7615
7591
|
/** Source. */
|
|
@@ -7643,6 +7619,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7643
7619
|
interface SyncEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitTargetAndPayloadSchema> {
|
|
7644
7620
|
}
|
|
7645
7621
|
}
|
|
7622
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7623
|
+
interface SyncEventContractsEmitPayload {
|
|
7624
|
+
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
7625
|
+
}
|
|
7626
|
+
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
7627
|
+
id: 'syncEventContractsEmitPayload';
|
|
7628
|
+
version: 'v2020_12_25';
|
|
7629
|
+
namespace: 'Mercury';
|
|
7630
|
+
name: '';
|
|
7631
|
+
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
7632
|
+
fields: {
|
|
7633
|
+
/** . */
|
|
7634
|
+
'contract': {
|
|
7635
|
+
type: 'schema';
|
|
7636
|
+
isRequired: true;
|
|
7637
|
+
options: {
|
|
7638
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
7639
|
+
};
|
|
7640
|
+
};
|
|
7641
|
+
};
|
|
7642
|
+
}
|
|
7643
|
+
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
7644
|
+
}
|
|
7645
|
+
}
|
|
7646
7646
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7647
7647
|
interface SyncEventContractsResponsePayload {
|
|
7648
7648
|
/** Event names. */
|
|
@@ -8561,69 +8561,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8561
8561
|
interface UpdateOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateOrganizationEmitTargetAndPayloadSchema> {
|
|
8562
8562
|
}
|
|
8563
8563
|
}
|
|
8564
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8565
|
-
interface UpdateOrg {
|
|
8566
|
-
/** Name. */
|
|
8567
|
-
'name'?: string | undefined | null;
|
|
8568
|
-
/** Address. */
|
|
8569
|
-
'address'?: SpruceSchema.AddressFieldValue | undefined | null;
|
|
8570
|
-
/** Slug. */
|
|
8571
|
-
'slug'?: string | undefined | null;
|
|
8572
|
-
/** Public. Is this organization viewable by guests? */
|
|
8573
|
-
'isPublic'?: boolean | undefined | null;
|
|
8574
|
-
'dateCreated'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
8575
|
-
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
8576
|
-
}
|
|
8577
|
-
interface UpdateOrgSchema extends SpruceSchema.Schema {
|
|
8578
|
-
id: 'updateOrg';
|
|
8579
|
-
version: 'v2020_12_25';
|
|
8580
|
-
namespace: 'Mercury';
|
|
8581
|
-
name: '';
|
|
8582
|
-
fields: {
|
|
8583
|
-
/** Name. */
|
|
8584
|
-
'name': {
|
|
8585
|
-
label: 'Name';
|
|
8586
|
-
type: 'text';
|
|
8587
|
-
options: undefined;
|
|
8588
|
-
};
|
|
8589
|
-
/** Address. */
|
|
8590
|
-
'address': {
|
|
8591
|
-
label: 'Address';
|
|
8592
|
-
type: 'address';
|
|
8593
|
-
options: undefined;
|
|
8594
|
-
};
|
|
8595
|
-
/** Slug. */
|
|
8596
|
-
'slug': {
|
|
8597
|
-
label: 'Slug';
|
|
8598
|
-
type: 'text';
|
|
8599
|
-
options: undefined;
|
|
8600
|
-
};
|
|
8601
|
-
/** Public. Is this organization viewable by guests? */
|
|
8602
|
-
'isPublic': {
|
|
8603
|
-
label: 'Public';
|
|
8604
|
-
type: 'boolean';
|
|
8605
|
-
hint: 'Is this organization viewable by guests?';
|
|
8606
|
-
defaultValue: false;
|
|
8607
|
-
options: undefined;
|
|
8608
|
-
};
|
|
8609
|
-
/** . */
|
|
8610
|
-
'dateCreated': {
|
|
8611
|
-
type: 'dateTime';
|
|
8612
|
-
options: undefined;
|
|
8613
|
-
};
|
|
8614
|
-
/** . */
|
|
8615
|
-
'dateDeleted': {
|
|
8616
|
-
type: 'dateTime';
|
|
8617
|
-
options: undefined;
|
|
8618
|
-
};
|
|
8619
|
-
};
|
|
8620
|
-
}
|
|
8621
|
-
interface UpdateOrgEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateOrgSchema> {
|
|
8622
|
-
}
|
|
8623
|
-
}
|
|
8624
8564
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8625
8565
|
interface UpdateOrgResponsePayload {
|
|
8626
|
-
'organization': SpruceSchemas.
|
|
8566
|
+
'organization': SpruceSchemas.Spruce.v2020_07_22.Organization;
|
|
8627
8567
|
}
|
|
8628
8568
|
interface UpdateOrgResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8629
8569
|
id: 'updateOrgResponsePayload';
|
|
@@ -8636,7 +8576,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8636
8576
|
type: 'schema';
|
|
8637
8577
|
isRequired: true;
|
|
8638
8578
|
options: {
|
|
8639
|
-
schema: SpruceSchemas.
|
|
8579
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.OrganizationSchema;
|
|
8640
8580
|
};
|
|
8641
8581
|
};
|
|
8642
8582
|
};
|
package/package.json
CHANGED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema_1 = require("@sprucelabs/schema");
|
|
4
|
-
const updateOrgSchema = {
|
|
5
|
-
id: 'updateOrg',
|
|
6
|
-
version: 'v2020_12_25',
|
|
7
|
-
namespace: 'Mercury',
|
|
8
|
-
name: '',
|
|
9
|
-
fields: {
|
|
10
|
-
/** Name. */
|
|
11
|
-
'name': {
|
|
12
|
-
label: 'Name',
|
|
13
|
-
type: 'text',
|
|
14
|
-
options: undefined
|
|
15
|
-
},
|
|
16
|
-
/** Address. */
|
|
17
|
-
'address': {
|
|
18
|
-
label: 'Address',
|
|
19
|
-
type: 'address',
|
|
20
|
-
options: undefined
|
|
21
|
-
},
|
|
22
|
-
/** Slug. */
|
|
23
|
-
'slug': {
|
|
24
|
-
label: 'Slug',
|
|
25
|
-
type: 'text',
|
|
26
|
-
options: undefined
|
|
27
|
-
},
|
|
28
|
-
/** Public. Is this organization viewable by guests? */
|
|
29
|
-
'isPublic': {
|
|
30
|
-
label: 'Public',
|
|
31
|
-
type: 'boolean',
|
|
32
|
-
hint: 'Is this organization viewable by guests?',
|
|
33
|
-
defaultValue: false,
|
|
34
|
-
options: undefined
|
|
35
|
-
},
|
|
36
|
-
/** . */
|
|
37
|
-
'dateCreated': {
|
|
38
|
-
type: 'dateTime',
|
|
39
|
-
options: undefined
|
|
40
|
-
},
|
|
41
|
-
/** . */
|
|
42
|
-
'dateDeleted': {
|
|
43
|
-
type: 'dateTime',
|
|
44
|
-
options: undefined
|
|
45
|
-
},
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
schema_1.SchemaRegistry.getInstance().trackSchema(updateOrgSchema);
|
|
49
|
-
exports.default = updateOrgSchema;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
-
const updateOrgSchema = {
|
|
3
|
-
id: 'updateOrg',
|
|
4
|
-
version: 'v2020_12_25',
|
|
5
|
-
namespace: 'Mercury',
|
|
6
|
-
name: '',
|
|
7
|
-
fields: {
|
|
8
|
-
/** Name. */
|
|
9
|
-
'name': {
|
|
10
|
-
label: 'Name',
|
|
11
|
-
type: 'text',
|
|
12
|
-
options: undefined
|
|
13
|
-
},
|
|
14
|
-
/** Address. */
|
|
15
|
-
'address': {
|
|
16
|
-
label: 'Address',
|
|
17
|
-
type: 'address',
|
|
18
|
-
options: undefined
|
|
19
|
-
},
|
|
20
|
-
/** Slug. */
|
|
21
|
-
'slug': {
|
|
22
|
-
label: 'Slug',
|
|
23
|
-
type: 'text',
|
|
24
|
-
options: undefined
|
|
25
|
-
},
|
|
26
|
-
/** Public. Is this organization viewable by guests? */
|
|
27
|
-
'isPublic': {
|
|
28
|
-
label: 'Public',
|
|
29
|
-
type: 'boolean',
|
|
30
|
-
hint: 'Is this organization viewable by guests?',
|
|
31
|
-
defaultValue: false,
|
|
32
|
-
options: undefined
|
|
33
|
-
},
|
|
34
|
-
/** . */
|
|
35
|
-
'dateCreated': {
|
|
36
|
-
type: 'dateTime',
|
|
37
|
-
options: undefined
|
|
38
|
-
},
|
|
39
|
-
/** . */
|
|
40
|
-
'dateDeleted': {
|
|
41
|
-
type: 'dateTime',
|
|
42
|
-
options: undefined
|
|
43
|
-
},
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
SchemaRegistry.getInstance().trackSchema(updateOrgSchema);
|
|
47
|
-
export default updateOrgSchema;
|