@unified-api/typescript-sdk 2.6.1 → 2.6.3
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/README.md +593 -572
- package/funcs/groupCreateScimGroups.d.ts +13 -0
- package/funcs/groupCreateScimGroups.d.ts.map +1 -0
- package/funcs/groupCreateScimGroups.js +94 -0
- package/funcs/groupCreateScimGroups.js.map +1 -0
- package/funcs/groupListScimGroups.d.ts +13 -0
- package/funcs/groupListScimGroups.d.ts.map +1 -0
- package/funcs/groupListScimGroups.js +102 -0
- package/funcs/groupListScimGroups.js.map +1 -0
- package/funcs/groupPatchScimGroups.d.ts +13 -0
- package/funcs/groupPatchScimGroups.d.ts.map +1 -0
- package/funcs/groupPatchScimGroups.js +98 -0
- package/funcs/groupPatchScimGroups.js.map +1 -0
- package/funcs/groupRemoveScimGroups.d.ts +12 -0
- package/funcs/groupRemoveScimGroups.d.ts.map +1 -0
- package/funcs/groupRemoveScimGroups.js +97 -0
- package/funcs/groupRemoveScimGroups.js.map +1 -0
- package/funcs/groupUpdateScimGroups.d.ts +13 -0
- package/funcs/groupUpdateScimGroups.d.ts.map +1 -0
- package/funcs/groupUpdateScimGroups.js +98 -0
- package/funcs/groupUpdateScimGroups.js.map +1 -0
- package/funcs/scimCreateScimGroups.d.ts +13 -0
- package/funcs/scimCreateScimGroups.d.ts.map +1 -0
- package/funcs/scimCreateScimGroups.js +94 -0
- package/funcs/scimCreateScimGroups.js.map +1 -0
- package/funcs/scimCreateScimUsers.d.ts +13 -0
- package/funcs/scimCreateScimUsers.d.ts.map +1 -0
- package/funcs/scimCreateScimUsers.js +102 -0
- package/funcs/scimCreateScimUsers.js.map +1 -0
- package/funcs/scimGetScimUsers.d.ts +13 -0
- package/funcs/scimGetScimUsers.d.ts.map +1 -0
- package/funcs/scimGetScimUsers.js +97 -0
- package/funcs/scimGetScimUsers.js.map +1 -0
- package/funcs/scimListScimGroups.d.ts +13 -0
- package/funcs/scimListScimGroups.d.ts.map +1 -0
- package/funcs/scimListScimGroups.js +102 -0
- package/funcs/scimListScimGroups.js.map +1 -0
- package/funcs/scimListScimUsers.d.ts +13 -0
- package/funcs/scimListScimUsers.d.ts.map +1 -0
- package/funcs/scimListScimUsers.js +102 -0
- package/funcs/scimListScimUsers.js.map +1 -0
- package/funcs/scimPatchScimGroups.d.ts +13 -0
- package/funcs/scimPatchScimGroups.d.ts.map +1 -0
- package/funcs/scimPatchScimGroups.js +98 -0
- package/funcs/scimPatchScimGroups.js.map +1 -0
- package/funcs/scimPatchScimUsers.d.ts +13 -0
- package/funcs/scimPatchScimUsers.d.ts.map +1 -0
- package/funcs/scimPatchScimUsers.js +98 -0
- package/funcs/scimPatchScimUsers.js.map +1 -0
- package/funcs/scimRemoveScimGroups.d.ts +12 -0
- package/funcs/scimRemoveScimGroups.d.ts.map +1 -0
- package/funcs/scimRemoveScimGroups.js +97 -0
- package/funcs/scimRemoveScimGroups.js.map +1 -0
- package/funcs/scimRemoveScimUsers.d.ts +12 -0
- package/funcs/scimRemoveScimUsers.d.ts.map +1 -0
- package/funcs/scimRemoveScimUsers.js +97 -0
- package/funcs/scimRemoveScimUsers.js.map +1 -0
- package/funcs/scimUpdateScimGroups.d.ts +13 -0
- package/funcs/scimUpdateScimGroups.d.ts.map +1 -0
- package/funcs/scimUpdateScimGroups.js +98 -0
- package/funcs/scimUpdateScimGroups.js.map +1 -0
- package/funcs/scimUpdateScimUsers.d.ts +13 -0
- package/funcs/scimUpdateScimUsers.d.ts.map +1 -0
- package/funcs/scimUpdateScimUsers.js +98 -0
- package/funcs/scimUpdateScimUsers.js.map +1 -0
- package/funcs/userCreateScimUsers.d.ts +13 -0
- package/funcs/userCreateScimUsers.d.ts.map +1 -0
- package/funcs/userCreateScimUsers.js +102 -0
- package/funcs/userCreateScimUsers.js.map +1 -0
- package/funcs/userGetScimUsers.d.ts +13 -0
- package/funcs/userGetScimUsers.d.ts.map +1 -0
- package/funcs/userGetScimUsers.js +97 -0
- package/funcs/userGetScimUsers.js.map +1 -0
- package/funcs/userListScimUsers.d.ts +13 -0
- package/funcs/userListScimUsers.d.ts.map +1 -0
- package/funcs/userListScimUsers.js +102 -0
- package/funcs/userListScimUsers.js.map +1 -0
- package/funcs/userPatchScimUsers.d.ts +13 -0
- package/funcs/userPatchScimUsers.d.ts.map +1 -0
- package/funcs/userPatchScimUsers.js +98 -0
- package/funcs/userPatchScimUsers.js.map +1 -0
- package/funcs/userRemoveScimUsers.d.ts +12 -0
- package/funcs/userRemoveScimUsers.d.ts.map +1 -0
- package/funcs/userRemoveScimUsers.js +97 -0
- package/funcs/userRemoveScimUsers.js.map +1 -0
- package/funcs/userUpdateScimUsers.d.ts +13 -0
- package/funcs/userUpdateScimUsers.d.ts.map +1 -0
- package/funcs/userUpdateScimUsers.js +98 -0
- package/funcs/userUpdateScimUsers.js.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/package.json +1 -1
- package/sdk/group.d.ts +20 -0
- package/sdk/group.d.ts.map +1 -1
- package/sdk/group.js +35 -0
- package/sdk/group.js.map +1 -1
- package/sdk/models/operations/createscimgroups.d.ts +31 -0
- package/sdk/models/operations/createscimgroups.d.ts.map +1 -0
- package/sdk/models/operations/createscimgroups.js +64 -0
- package/sdk/models/operations/createscimgroups.js.map +1 -0
- package/sdk/models/operations/createscimusers.d.ts +41 -0
- package/sdk/models/operations/createscimusers.d.ts.map +1 -0
- package/sdk/models/operations/createscimusers.js +74 -0
- package/sdk/models/operations/createscimusers.js.map +1 -0
- package/sdk/models/operations/getscimusers.d.ts +33 -0
- package/sdk/models/operations/getscimusers.d.ts.map +1 -0
- package/sdk/models/operations/getscimusers.js +61 -0
- package/sdk/models/operations/getscimusers.js.map +1 -0
- package/sdk/models/operations/getunifiedintegrationauth.d.ts +12 -0
- package/sdk/models/operations/getunifiedintegrationauth.d.ts.map +1 -1
- package/sdk/models/operations/getunifiedintegrationauth.js +4 -0
- package/sdk/models/operations/getunifiedintegrationauth.js.map +1 -1
- package/sdk/models/operations/index.d.ts +11 -0
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +11 -0
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/listscimgroups.d.ts +38 -0
- package/sdk/models/operations/listscimgroups.d.ts.map +1 -0
- package/sdk/models/operations/listscimgroups.js +69 -0
- package/sdk/models/operations/listscimgroups.js.map +1 -0
- package/sdk/models/operations/listscimusers.d.ts +38 -0
- package/sdk/models/operations/listscimusers.d.ts.map +1 -0
- package/sdk/models/operations/listscimusers.js +69 -0
- package/sdk/models/operations/listscimusers.js.map +1 -0
- package/sdk/models/operations/listunifiedconnections.d.ts +3 -0
- package/sdk/models/operations/listunifiedconnections.d.ts.map +1 -1
- package/sdk/models/operations/listunifiedconnections.js +1 -0
- package/sdk/models/operations/listunifiedconnections.js.map +1 -1
- package/sdk/models/operations/listunifiedintegrations.d.ts +3 -0
- package/sdk/models/operations/listunifiedintegrations.d.ts.map +1 -1
- package/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/sdk/models/operations/listunifiedintegrations.js.map +1 -1
- package/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +3 -0
- package/sdk/models/operations/listunifiedintegrationworkspaces.d.ts.map +1 -1
- package/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/sdk/models/operations/listunifiedintegrationworkspaces.js.map +1 -1
- package/sdk/models/operations/patchscimgroups.d.ts +36 -0
- package/sdk/models/operations/patchscimgroups.d.ts.map +1 -0
- package/sdk/models/operations/patchscimgroups.js +66 -0
- package/sdk/models/operations/patchscimgroups.js.map +1 -0
- package/sdk/models/operations/patchscimusers.d.ts +36 -0
- package/sdk/models/operations/patchscimusers.d.ts.map +1 -0
- package/sdk/models/operations/patchscimusers.js +66 -0
- package/sdk/models/operations/patchscimusers.js.map +1 -0
- package/sdk/models/operations/removescimgroups.d.ts +33 -0
- package/sdk/models/operations/removescimgroups.d.ts.map +1 -0
- package/sdk/models/operations/removescimgroups.js +61 -0
- package/sdk/models/operations/removescimgroups.js.map +1 -0
- package/sdk/models/operations/removescimusers.d.ts +33 -0
- package/sdk/models/operations/removescimusers.d.ts.map +1 -0
- package/sdk/models/operations/removescimusers.js +61 -0
- package/sdk/models/operations/removescimusers.js.map +1 -0
- package/sdk/models/operations/updatescimgroups.d.ts +36 -0
- package/sdk/models/operations/updatescimgroups.d.ts.map +1 -0
- package/sdk/models/operations/updatescimgroups.js +66 -0
- package/sdk/models/operations/updatescimgroups.js.map +1 -0
- package/sdk/models/operations/updatescimusers.d.ts +36 -0
- package/sdk/models/operations/updatescimusers.d.ts.map +1 -0
- package/sdk/models/operations/updatescimusers.js +66 -0
- package/sdk/models/operations/updatescimusers.js.map +1 -0
- package/sdk/models/shared/accountingtransaction.d.ts +3 -0
- package/sdk/models/shared/accountingtransaction.d.ts.map +1 -1
- package/sdk/models/shared/accountingtransaction.js +3 -0
- package/sdk/models/shared/accountingtransaction.js.map +1 -1
- package/sdk/models/shared/accountingtransactioncontact.d.ts +21 -0
- package/sdk/models/shared/accountingtransactioncontact.d.ts.map +1 -0
- package/sdk/models/shared/accountingtransactioncontact.js +46 -0
- package/sdk/models/shared/accountingtransactioncontact.js.map +1 -0
- package/sdk/models/shared/atsactivity.d.ts +2 -0
- package/sdk/models/shared/atsactivity.d.ts.map +1 -1
- package/sdk/models/shared/atsactivity.js +4 -0
- package/sdk/models/shared/atsactivity.js.map +1 -1
- package/sdk/models/shared/commercecollection.d.ts +2 -2
- package/sdk/models/shared/commercecollection.d.ts.map +1 -1
- package/sdk/models/shared/commercecollection.js +2 -2
- package/sdk/models/shared/commercecollection.js.map +1 -1
- package/sdk/models/shared/commerceitemoption.d.ts +2 -2
- package/sdk/models/shared/commerceitemoption.d.ts.map +1 -1
- package/sdk/models/shared/commerceitemoption.js +2 -2
- package/sdk/models/shared/commerceitemoption.js.map +1 -1
- package/sdk/models/shared/connection.d.ts +3 -6
- package/sdk/models/shared/connection.d.ts.map +1 -1
- package/sdk/models/shared/connection.js +3 -2
- package/sdk/models/shared/connection.js.map +1 -1
- package/sdk/models/shared/group.d.ts +40 -0
- package/sdk/models/shared/group.d.ts.map +1 -0
- package/sdk/models/shared/group.js +66 -0
- package/sdk/models/shared/group.js.map +1 -0
- package/sdk/models/shared/index.d.ts +13 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +13 -0
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/kmspage.d.ts +2 -2
- package/sdk/models/shared/kmspage.d.ts.map +1 -1
- package/sdk/models/shared/kmspage.js +2 -2
- package/sdk/models/shared/kmspage.js.map +1 -1
- package/sdk/models/shared/kmsspace.d.ts +2 -2
- package/sdk/models/shared/kmsspace.d.ts.map +1 -1
- package/sdk/models/shared/kmsspace.js +2 -2
- package/sdk/models/shared/kmsspace.js.map +1 -1
- package/sdk/models/shared/propertyconnectioncategories.d.ts +3 -0
- package/sdk/models/shared/propertyconnectioncategories.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/sdk/models/shared/propertyconnectioncategories.js.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.d.ts +12 -0
- package/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.js +4 -0
- package/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/sdk/models/shared/propertygroupmeta.d.ts +59 -0
- package/sdk/models/shared/propertygroupmeta.d.ts.map +1 -0
- package/sdk/models/shared/propertygroupmeta.js +77 -0
- package/sdk/models/shared/propertygroupmeta.js.map +1 -0
- package/sdk/models/shared/propertygroupschemas.d.ts +25 -0
- package/sdk/models/shared/propertygroupschemas.d.ts.map +1 -0
- package/sdk/models/shared/propertygroupschemas.js +49 -0
- package/sdk/models/shared/propertygroupschemas.js.map +1 -0
- package/sdk/models/shared/propertyintegrationcategories.d.ts +3 -0
- package/sdk/models/shared/propertyintegrationcategories.d.ts.map +1 -1
- package/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/sdk/models/shared/propertyintegrationcategories.js.map +1 -1
- package/sdk/models/shared/propertypropertyuserurnietfparamsscimschemasextensionenterprise20usermanager.d.ts +59 -0
- package/sdk/models/shared/propertypropertyuserurnietfparamsscimschemasextensionenterprise20usermanager.d.ts.map +1 -0
- package/sdk/models/shared/propertypropertyuserurnietfparamsscimschemasextensionenterprise20usermanager.js +88 -0
- package/sdk/models/shared/propertypropertyuserurnietfparamsscimschemasextensionenterprise20usermanager.js.map +1 -0
- package/sdk/models/shared/propertyusermeta.d.ts +59 -0
- package/sdk/models/shared/propertyusermeta.d.ts.map +1 -0
- package/sdk/models/shared/propertyusermeta.js +77 -0
- package/sdk/models/shared/propertyusermeta.js.map +1 -0
- package/sdk/models/shared/propertyusername.d.ts +35 -0
- package/sdk/models/shared/propertyusername.d.ts.map +1 -0
- package/sdk/models/shared/propertyusername.js +60 -0
- package/sdk/models/shared/propertyusername.js.map +1 -0
- package/sdk/models/shared/propertyuserschemas.d.ts +34 -0
- package/sdk/models/shared/propertyuserschemas.d.ts.map +1 -0
- package/sdk/models/shared/propertyuserschemas.js +52 -0
- package/sdk/models/shared/propertyuserschemas.js.map +1 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionenterprise20user.d.ts +99 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionenterprise20user.d.ts.map +1 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionenterprise20user.js +120 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionenterprise20user.js.map +1 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionlatticeattributes10user.d.ts +152 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionlatticeattributes10user.d.ts.map +1 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionlatticeattributes10user.js +158 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionlatticeattributes10user.js.map +1 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionpeakon20user.d.ts +57 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionpeakon20user.d.ts.map +1 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionpeakon20user.js +92 -0
- package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionpeakon20user.js.map +1 -0
- package/sdk/models/shared/undefined.d.ts +84 -0
- package/sdk/models/shared/undefined.d.ts.map +1 -0
- package/sdk/models/shared/undefined.js +106 -0
- package/sdk/models/shared/undefined.js.map +1 -0
- package/sdk/models/shared/user.d.ts +86 -0
- package/sdk/models/shared/user.d.ts.map +1 -0
- package/sdk/models/shared/user.js +131 -0
- package/sdk/models/shared/user.js.map +1 -0
- package/sdk/models/shared/webhook.d.ts +6 -0
- package/sdk/models/shared/webhook.d.ts.map +1 -1
- package/sdk/models/shared/webhook.js +2 -0
- package/sdk/models/shared/webhook.js.map +1 -1
- package/sdk/scim.d.ts +50 -0
- package/sdk/scim.d.ts.map +1 -0
- package/sdk/scim.js +89 -0
- package/sdk/scim.js.map +1 -0
- package/sdk/sdk.d.ts +6 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +10 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/user.d.ts +30 -0
- package/sdk/user.d.ts.map +1 -0
- package/sdk/user.js +54 -0
- package/sdk/user.js.map +1 -0
- package/src/funcs/groupCreateScimGroups.ts +120 -0
- package/src/funcs/groupListScimGroups.ts +129 -0
- package/src/funcs/groupPatchScimGroups.ts +124 -0
- package/src/funcs/groupRemoveScimGroups.ts +123 -0
- package/src/funcs/groupUpdateScimGroups.ts +124 -0
- package/src/funcs/scimCreateScimGroups.ts +120 -0
- package/src/funcs/scimCreateScimUsers.ts +129 -0
- package/src/funcs/scimGetScimUsers.ts +123 -0
- package/src/funcs/scimListScimGroups.ts +129 -0
- package/src/funcs/scimListScimUsers.ts +129 -0
- package/src/funcs/scimPatchScimGroups.ts +124 -0
- package/src/funcs/scimPatchScimUsers.ts +124 -0
- package/src/funcs/scimRemoveScimGroups.ts +123 -0
- package/src/funcs/scimRemoveScimUsers.ts +123 -0
- package/src/funcs/scimUpdateScimGroups.ts +124 -0
- package/src/funcs/scimUpdateScimUsers.ts +124 -0
- package/src/funcs/userCreateScimUsers.ts +129 -0
- package/src/funcs/userGetScimUsers.ts +123 -0
- package/src/funcs/userListScimUsers.ts +129 -0
- package/src/funcs/userPatchScimUsers.ts +124 -0
- package/src/funcs/userRemoveScimUsers.ts +123 -0
- package/src/funcs/userUpdateScimUsers.ts +124 -0
- package/src/lib/config.ts +3 -3
- package/src/sdk/group.ts +75 -0
- package/src/sdk/models/operations/createscimgroups.ts +64 -0
- package/src/sdk/models/operations/createscimusers.ts +84 -0
- package/src/sdk/models/operations/getscimusers.ts +64 -0
- package/src/sdk/models/operations/getunifiedintegrationauth.ts +4 -0
- package/src/sdk/models/operations/index.ts +11 -0
- package/src/sdk/models/operations/listscimgroups.ts +77 -0
- package/src/sdk/models/operations/listscimusers.ts +77 -0
- package/src/sdk/models/operations/listunifiedconnections.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrations.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrationworkspaces.ts +1 -0
- package/src/sdk/models/operations/patchscimgroups.ts +71 -0
- package/src/sdk/models/operations/patchscimusers.ts +71 -0
- package/src/sdk/models/operations/removescimgroups.ts +64 -0
- package/src/sdk/models/operations/removescimusers.ts +64 -0
- package/src/sdk/models/operations/updatescimgroups.ts +71 -0
- package/src/sdk/models/operations/updatescimusers.ts +71 -0
- package/src/sdk/models/shared/accountingtransaction.ts +10 -0
- package/src/sdk/models/shared/accountingtransactioncontact.ts +37 -0
- package/src/sdk/models/shared/atsactivity.ts +6 -0
- package/src/sdk/models/shared/commercecollection.ts +4 -4
- package/src/sdk/models/shared/commerceitemoption.ts +4 -4
- package/src/sdk/models/shared/connection.ts +10 -4
- package/src/sdk/models/shared/group.ts +83 -0
- package/src/sdk/models/shared/index.ts +13 -0
- package/src/sdk/models/shared/kmspage.ts +4 -4
- package/src/sdk/models/shared/kmsspace.ts +4 -4
- package/src/sdk/models/shared/propertyconnectioncategories.ts +1 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +4 -0
- package/src/sdk/models/shared/propertygroupmeta.ts +87 -0
- package/src/sdk/models/shared/propertygroupschemas.ts +33 -0
- package/src/sdk/models/shared/propertyintegrationcategories.ts +1 -0
- package/src/sdk/models/shared/propertypropertyuserurnietfparamsscimschemasextensionenterprise20usermanager.ts +122 -0
- package/src/sdk/models/shared/propertyusermeta.ts +91 -0
- package/src/sdk/models/shared/propertyusername.ts +65 -0
- package/src/sdk/models/shared/propertyuserschemas.ts +39 -0
- package/src/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionenterprise20user.ts +192 -0
- package/src/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionlatticeattributes10user.ts +215 -0
- package/src/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionpeakon20user.ts +124 -0
- package/src/sdk/models/shared/undefined.ts +123 -0
- package/src/sdk/models/shared/user.ts +231 -0
- package/src/sdk/models/shared/webhook.ts +2 -0
- package/src/sdk/scim.ts +175 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/user.ts +100 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const PropertyUserMetaResourceType = {
|
|
9
|
+
User: "User",
|
|
10
|
+
Group: "Group",
|
|
11
|
+
} as const;
|
|
12
|
+
export type PropertyUserMetaResourceType = ClosedEnum<
|
|
13
|
+
typeof PropertyUserMetaResourceType
|
|
14
|
+
>;
|
|
15
|
+
|
|
16
|
+
export type PropertyUserMeta = {
|
|
17
|
+
created?: string | undefined;
|
|
18
|
+
lastModified?: string | undefined;
|
|
19
|
+
location?: string | undefined;
|
|
20
|
+
resourceType?: PropertyUserMetaResourceType | undefined;
|
|
21
|
+
version?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PropertyUserMetaResourceType$inboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof PropertyUserMetaResourceType
|
|
27
|
+
> = z.nativeEnum(PropertyUserMetaResourceType);
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const PropertyUserMetaResourceType$outboundSchema: z.ZodNativeEnum<
|
|
31
|
+
typeof PropertyUserMetaResourceType
|
|
32
|
+
> = PropertyUserMetaResourceType$inboundSchema;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
37
|
+
*/
|
|
38
|
+
export namespace PropertyUserMetaResourceType$ {
|
|
39
|
+
/** @deprecated use `PropertyUserMetaResourceType$inboundSchema` instead. */
|
|
40
|
+
export const inboundSchema = PropertyUserMetaResourceType$inboundSchema;
|
|
41
|
+
/** @deprecated use `PropertyUserMetaResourceType$outboundSchema` instead. */
|
|
42
|
+
export const outboundSchema = PropertyUserMetaResourceType$outboundSchema;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const PropertyUserMeta$inboundSchema: z.ZodType<
|
|
47
|
+
PropertyUserMeta,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = z.object({
|
|
51
|
+
created: z.string().optional(),
|
|
52
|
+
lastModified: z.string().optional(),
|
|
53
|
+
location: z.string().optional(),
|
|
54
|
+
resourceType: PropertyUserMetaResourceType$inboundSchema.optional(),
|
|
55
|
+
version: z.string().optional(),
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export type PropertyUserMeta$Outbound = {
|
|
60
|
+
created?: string | undefined;
|
|
61
|
+
lastModified?: string | undefined;
|
|
62
|
+
location?: string | undefined;
|
|
63
|
+
resourceType?: string | undefined;
|
|
64
|
+
version?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const PropertyUserMeta$outboundSchema: z.ZodType<
|
|
69
|
+
PropertyUserMeta$Outbound,
|
|
70
|
+
z.ZodTypeDef,
|
|
71
|
+
PropertyUserMeta
|
|
72
|
+
> = z.object({
|
|
73
|
+
created: z.string().optional(),
|
|
74
|
+
lastModified: z.string().optional(),
|
|
75
|
+
location: z.string().optional(),
|
|
76
|
+
resourceType: PropertyUserMetaResourceType$outboundSchema.optional(),
|
|
77
|
+
version: z.string().optional(),
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
83
|
+
*/
|
|
84
|
+
export namespace PropertyUserMeta$ {
|
|
85
|
+
/** @deprecated use `PropertyUserMeta$inboundSchema` instead. */
|
|
86
|
+
export const inboundSchema = PropertyUserMeta$inboundSchema;
|
|
87
|
+
/** @deprecated use `PropertyUserMeta$outboundSchema` instead. */
|
|
88
|
+
export const outboundSchema = PropertyUserMeta$outboundSchema;
|
|
89
|
+
/** @deprecated use `PropertyUserMeta$Outbound` instead. */
|
|
90
|
+
export type Outbound = PropertyUserMeta$Outbound;
|
|
91
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export type PropertyUserName = {
|
|
8
|
+
familyName?: string | undefined;
|
|
9
|
+
formatted?: string | undefined;
|
|
10
|
+
givenName?: string | undefined;
|
|
11
|
+
honorificPrefix?: string | undefined;
|
|
12
|
+
honorificSuffix?: string | undefined;
|
|
13
|
+
middleName?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const PropertyUserName$inboundSchema: z.ZodType<
|
|
18
|
+
PropertyUserName,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
familyName: z.string().optional(),
|
|
23
|
+
formatted: z.string().optional(),
|
|
24
|
+
givenName: z.string().optional(),
|
|
25
|
+
honorificPrefix: z.string().optional(),
|
|
26
|
+
honorificSuffix: z.string().optional(),
|
|
27
|
+
middleName: z.string().optional(),
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type PropertyUserName$Outbound = {
|
|
32
|
+
familyName?: string | undefined;
|
|
33
|
+
formatted?: string | undefined;
|
|
34
|
+
givenName?: string | undefined;
|
|
35
|
+
honorificPrefix?: string | undefined;
|
|
36
|
+
honorificSuffix?: string | undefined;
|
|
37
|
+
middleName?: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const PropertyUserName$outboundSchema: z.ZodType<
|
|
42
|
+
PropertyUserName$Outbound,
|
|
43
|
+
z.ZodTypeDef,
|
|
44
|
+
PropertyUserName
|
|
45
|
+
> = z.object({
|
|
46
|
+
familyName: z.string().optional(),
|
|
47
|
+
formatted: z.string().optional(),
|
|
48
|
+
givenName: z.string().optional(),
|
|
49
|
+
honorificPrefix: z.string().optional(),
|
|
50
|
+
honorificSuffix: z.string().optional(),
|
|
51
|
+
middleName: z.string().optional(),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
+
*/
|
|
58
|
+
export namespace PropertyUserName$ {
|
|
59
|
+
/** @deprecated use `PropertyUserName$inboundSchema` instead. */
|
|
60
|
+
export const inboundSchema = PropertyUserName$inboundSchema;
|
|
61
|
+
/** @deprecated use `PropertyUserName$outboundSchema` instead. */
|
|
62
|
+
export const outboundSchema = PropertyUserName$outboundSchema;
|
|
63
|
+
/** @deprecated use `PropertyUserName$Outbound` instead. */
|
|
64
|
+
export type Outbound = PropertyUserName$Outbound;
|
|
65
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const PropertyUserSchemas = {
|
|
9
|
+
UrnIetfParamsScimSchemasCore20User:
|
|
10
|
+
"urn:ietf:params:scim:schemas:core:2.0:User",
|
|
11
|
+
UrnIetfParamsScimSchemasExtensionEnterprise20User:
|
|
12
|
+
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User",
|
|
13
|
+
UrnIetfParamsScimSchemasExtensionLatticeAttributes10User:
|
|
14
|
+
"urn:ietf:params:scim:schemas:extension:lattice:attributes:1.0:User",
|
|
15
|
+
UrnIetfParamsScimSchemasExtensionPeakon20User:
|
|
16
|
+
"urn:ietf:params:scim:schemas:extension:peakon:2.0:User",
|
|
17
|
+
} as const;
|
|
18
|
+
export type PropertyUserSchemas = ClosedEnum<typeof PropertyUserSchemas>;
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const PropertyUserSchemas$inboundSchema: z.ZodNativeEnum<
|
|
22
|
+
typeof PropertyUserSchemas
|
|
23
|
+
> = z.nativeEnum(PropertyUserSchemas);
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const PropertyUserSchemas$outboundSchema: z.ZodNativeEnum<
|
|
27
|
+
typeof PropertyUserSchemas
|
|
28
|
+
> = PropertyUserSchemas$inboundSchema;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
+
*/
|
|
34
|
+
export namespace PropertyUserSchemas$ {
|
|
35
|
+
/** @deprecated use `PropertyUserSchemas$inboundSchema` instead. */
|
|
36
|
+
export const inboundSchema = PropertyUserSchemas$inboundSchema;
|
|
37
|
+
/** @deprecated use `PropertyUserSchemas$outboundSchema` instead. */
|
|
38
|
+
export const outboundSchema = PropertyUserSchemas$outboundSchema;
|
|
39
|
+
}
|
package/src/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionenterprise20user.ts
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
import {
|
|
8
|
+
PropertyPropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserManager,
|
|
9
|
+
PropertyPropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserManager$inboundSchema,
|
|
10
|
+
PropertyPropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserManager$Outbound,
|
|
11
|
+
PropertyPropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserManager$outboundSchema,
|
|
12
|
+
} from "./propertypropertyuserurnietfparamsscimschemasextensionenterprise20usermanager.js";
|
|
13
|
+
import {
|
|
14
|
+
Undefined,
|
|
15
|
+
Undefined$inboundSchema,
|
|
16
|
+
Undefined$Outbound,
|
|
17
|
+
Undefined$outboundSchema,
|
|
18
|
+
} from "./undefined.js";
|
|
19
|
+
|
|
20
|
+
export const PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender =
|
|
21
|
+
{
|
|
22
|
+
Female: "female",
|
|
23
|
+
Male: "male",
|
|
24
|
+
} as const;
|
|
25
|
+
export type PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender =
|
|
26
|
+
ClosedEnum<
|
|
27
|
+
typeof PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender
|
|
28
|
+
>;
|
|
29
|
+
|
|
30
|
+
export const Level = {
|
|
31
|
+
JuniorEngineer: "Junior Engineer",
|
|
32
|
+
} as const;
|
|
33
|
+
export type Level = ClosedEnum<typeof Level>;
|
|
34
|
+
|
|
35
|
+
export type PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User = {
|
|
36
|
+
additionalManagers?: Array<Undefined> | undefined;
|
|
37
|
+
birthday?: Date | undefined;
|
|
38
|
+
costCenter?: string | undefined;
|
|
39
|
+
department?: string | undefined;
|
|
40
|
+
division?: string | undefined;
|
|
41
|
+
employeeNumber?: string | undefined;
|
|
42
|
+
endDate?: Date | undefined;
|
|
43
|
+
gender?:
|
|
44
|
+
| PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender
|
|
45
|
+
| undefined;
|
|
46
|
+
level?: Level | undefined;
|
|
47
|
+
location?: string | undefined;
|
|
48
|
+
manager?:
|
|
49
|
+
| PropertyPropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserManager
|
|
50
|
+
| undefined;
|
|
51
|
+
organization?: string | undefined;
|
|
52
|
+
startDate?: Date | undefined;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/** @internal */
|
|
56
|
+
export const PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender$inboundSchema:
|
|
57
|
+
z.ZodNativeEnum<
|
|
58
|
+
typeof PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender
|
|
59
|
+
> = z.nativeEnum(
|
|
60
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender,
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
/** @internal */
|
|
64
|
+
export const PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender$outboundSchema:
|
|
65
|
+
z.ZodNativeEnum<
|
|
66
|
+
typeof PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender
|
|
67
|
+
> =
|
|
68
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender$inboundSchema;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
export namespace PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender$ {
|
|
75
|
+
/** @deprecated use `PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender$inboundSchema` instead. */
|
|
76
|
+
export const inboundSchema =
|
|
77
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender$inboundSchema;
|
|
78
|
+
/** @deprecated use `PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender$outboundSchema` instead. */
|
|
79
|
+
export const outboundSchema =
|
|
80
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender$outboundSchema;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/** @internal */
|
|
84
|
+
export const Level$inboundSchema: z.ZodNativeEnum<typeof Level> = z.nativeEnum(
|
|
85
|
+
Level,
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
/** @internal */
|
|
89
|
+
export const Level$outboundSchema: z.ZodNativeEnum<typeof Level> =
|
|
90
|
+
Level$inboundSchema;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
95
|
+
*/
|
|
96
|
+
export namespace Level$ {
|
|
97
|
+
/** @deprecated use `Level$inboundSchema` instead. */
|
|
98
|
+
export const inboundSchema = Level$inboundSchema;
|
|
99
|
+
/** @deprecated use `Level$outboundSchema` instead. */
|
|
100
|
+
export const outboundSchema = Level$outboundSchema;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/** @internal */
|
|
104
|
+
export const PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User$inboundSchema:
|
|
105
|
+
z.ZodType<
|
|
106
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User,
|
|
107
|
+
z.ZodTypeDef,
|
|
108
|
+
unknown
|
|
109
|
+
> = z.object({
|
|
110
|
+
additionalManagers: z.array(Undefined$inboundSchema).optional(),
|
|
111
|
+
birthday: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
112
|
+
.optional(),
|
|
113
|
+
costCenter: z.string().optional(),
|
|
114
|
+
department: z.string().optional(),
|
|
115
|
+
division: z.string().optional(),
|
|
116
|
+
employeeNumber: z.string().optional(),
|
|
117
|
+
endDate: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
118
|
+
.optional(),
|
|
119
|
+
gender:
|
|
120
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender$inboundSchema
|
|
121
|
+
.optional(),
|
|
122
|
+
level: Level$inboundSchema.optional(),
|
|
123
|
+
location: z.string().optional(),
|
|
124
|
+
manager:
|
|
125
|
+
PropertyPropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserManager$inboundSchema
|
|
126
|
+
.optional(),
|
|
127
|
+
organization: z.string().optional(),
|
|
128
|
+
startDate: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
129
|
+
.optional(),
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
/** @internal */
|
|
133
|
+
export type PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User$Outbound =
|
|
134
|
+
{
|
|
135
|
+
additionalManagers?: Array<Undefined$Outbound> | undefined;
|
|
136
|
+
birthday?: string | undefined;
|
|
137
|
+
costCenter?: string | undefined;
|
|
138
|
+
department?: string | undefined;
|
|
139
|
+
division?: string | undefined;
|
|
140
|
+
employeeNumber?: string | undefined;
|
|
141
|
+
endDate?: string | undefined;
|
|
142
|
+
gender?: string | undefined;
|
|
143
|
+
level?: string | undefined;
|
|
144
|
+
location?: string | undefined;
|
|
145
|
+
manager?:
|
|
146
|
+
| PropertyPropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserManager$Outbound
|
|
147
|
+
| undefined;
|
|
148
|
+
organization?: string | undefined;
|
|
149
|
+
startDate?: string | undefined;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
/** @internal */
|
|
153
|
+
export const PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User$outboundSchema:
|
|
154
|
+
z.ZodType<
|
|
155
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User$Outbound,
|
|
156
|
+
z.ZodTypeDef,
|
|
157
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User
|
|
158
|
+
> = z.object({
|
|
159
|
+
additionalManagers: z.array(Undefined$outboundSchema).optional(),
|
|
160
|
+
birthday: z.date().transform(v => v.toISOString()).optional(),
|
|
161
|
+
costCenter: z.string().optional(),
|
|
162
|
+
department: z.string().optional(),
|
|
163
|
+
division: z.string().optional(),
|
|
164
|
+
employeeNumber: z.string().optional(),
|
|
165
|
+
endDate: z.date().transform(v => v.toISOString()).optional(),
|
|
166
|
+
gender:
|
|
167
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserGender$outboundSchema
|
|
168
|
+
.optional(),
|
|
169
|
+
level: Level$outboundSchema.optional(),
|
|
170
|
+
location: z.string().optional(),
|
|
171
|
+
manager:
|
|
172
|
+
PropertyPropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20UserManager$outboundSchema
|
|
173
|
+
.optional(),
|
|
174
|
+
organization: z.string().optional(),
|
|
175
|
+
startDate: z.date().transform(v => v.toISOString()).optional(),
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @internal
|
|
180
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
181
|
+
*/
|
|
182
|
+
export namespace PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User$ {
|
|
183
|
+
/** @deprecated use `PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User$inboundSchema` instead. */
|
|
184
|
+
export const inboundSchema =
|
|
185
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User$inboundSchema;
|
|
186
|
+
/** @deprecated use `PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User$outboundSchema` instead. */
|
|
187
|
+
export const outboundSchema =
|
|
188
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User$outboundSchema;
|
|
189
|
+
/** @deprecated use `PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User$Outbound` instead. */
|
|
190
|
+
export type Outbound =
|
|
191
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionEnterprise20User$Outbound;
|
|
192
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
export const Ethnicity = {
|
|
10
|
+
Caucasian: "Caucasian",
|
|
11
|
+
EastAsian: "East Asian",
|
|
12
|
+
MiddleEastern: "Middle Eastern",
|
|
13
|
+
WhiteMixed: "White",
|
|
14
|
+
Black: "Black",
|
|
15
|
+
BiracialSouthAsianAndCaucasian: "Biracial (South Asian & Caucasian)",
|
|
16
|
+
Filipino: "Filipino",
|
|
17
|
+
SouthAsian: "South Asian",
|
|
18
|
+
Indian: "Indian",
|
|
19
|
+
WhiteLower: "white",
|
|
20
|
+
Asian: "Asian",
|
|
21
|
+
} as const;
|
|
22
|
+
export type Ethnicity = ClosedEnum<typeof Ethnicity>;
|
|
23
|
+
|
|
24
|
+
export const PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender =
|
|
25
|
+
{
|
|
26
|
+
Female: "female",
|
|
27
|
+
Male: "male",
|
|
28
|
+
} as const;
|
|
29
|
+
export type PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender =
|
|
30
|
+
ClosedEnum<
|
|
31
|
+
typeof PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export const SexualOrientation = {
|
|
35
|
+
Queer: "Queer",
|
|
36
|
+
Heterosexual: "Heterosexual",
|
|
37
|
+
StraightMixed: "Straight",
|
|
38
|
+
StraightLower: "straight",
|
|
39
|
+
} as const;
|
|
40
|
+
export type SexualOrientation = ClosedEnum<typeof SexualOrientation>;
|
|
41
|
+
|
|
42
|
+
export type PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User =
|
|
43
|
+
{
|
|
44
|
+
jobLevel?: string | undefined;
|
|
45
|
+
peopleManagerReviews?: string | undefined;
|
|
46
|
+
remoteWorkLocation?: string | undefined;
|
|
47
|
+
salaryInformation?: string | undefined;
|
|
48
|
+
subDepartments?: string | undefined;
|
|
49
|
+
birthDate?: Date | undefined;
|
|
50
|
+
ethnicity?: Ethnicity | undefined;
|
|
51
|
+
gender?:
|
|
52
|
+
| PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender
|
|
53
|
+
| undefined;
|
|
54
|
+
sexualOrientation?: SexualOrientation | undefined;
|
|
55
|
+
startDate?: Date | undefined;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const Ethnicity$inboundSchema: z.ZodNativeEnum<typeof Ethnicity> = z
|
|
60
|
+
.nativeEnum(Ethnicity);
|
|
61
|
+
|
|
62
|
+
/** @internal */
|
|
63
|
+
export const Ethnicity$outboundSchema: z.ZodNativeEnum<typeof Ethnicity> =
|
|
64
|
+
Ethnicity$inboundSchema;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
export namespace Ethnicity$ {
|
|
71
|
+
/** @deprecated use `Ethnicity$inboundSchema` instead. */
|
|
72
|
+
export const inboundSchema = Ethnicity$inboundSchema;
|
|
73
|
+
/** @deprecated use `Ethnicity$outboundSchema` instead. */
|
|
74
|
+
export const outboundSchema = Ethnicity$outboundSchema;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender$inboundSchema:
|
|
79
|
+
z.ZodNativeEnum<
|
|
80
|
+
typeof PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender
|
|
81
|
+
> = z.nativeEnum(
|
|
82
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender,
|
|
83
|
+
);
|
|
84
|
+
|
|
85
|
+
/** @internal */
|
|
86
|
+
export const PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender$outboundSchema:
|
|
87
|
+
z.ZodNativeEnum<
|
|
88
|
+
typeof PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender
|
|
89
|
+
> =
|
|
90
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender$inboundSchema;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
95
|
+
*/
|
|
96
|
+
export namespace PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender$ {
|
|
97
|
+
/** @deprecated use `PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender$inboundSchema` instead. */
|
|
98
|
+
export const inboundSchema =
|
|
99
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender$inboundSchema;
|
|
100
|
+
/** @deprecated use `PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender$outboundSchema` instead. */
|
|
101
|
+
export const outboundSchema =
|
|
102
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender$outboundSchema;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/** @internal */
|
|
106
|
+
export const SexualOrientation$inboundSchema: z.ZodNativeEnum<
|
|
107
|
+
typeof SexualOrientation
|
|
108
|
+
> = z.nativeEnum(SexualOrientation);
|
|
109
|
+
|
|
110
|
+
/** @internal */
|
|
111
|
+
export const SexualOrientation$outboundSchema: z.ZodNativeEnum<
|
|
112
|
+
typeof SexualOrientation
|
|
113
|
+
> = SexualOrientation$inboundSchema;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
118
|
+
*/
|
|
119
|
+
export namespace SexualOrientation$ {
|
|
120
|
+
/** @deprecated use `SexualOrientation$inboundSchema` instead. */
|
|
121
|
+
export const inboundSchema = SexualOrientation$inboundSchema;
|
|
122
|
+
/** @deprecated use `SexualOrientation$outboundSchema` instead. */
|
|
123
|
+
export const outboundSchema = SexualOrientation$outboundSchema;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/** @internal */
|
|
127
|
+
export const PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User$inboundSchema:
|
|
128
|
+
z.ZodType<
|
|
129
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User,
|
|
130
|
+
z.ZodTypeDef,
|
|
131
|
+
unknown
|
|
132
|
+
> = z.object({
|
|
133
|
+
"Job Level": z.string().optional(),
|
|
134
|
+
"People Manager (Reviews)": z.string().optional(),
|
|
135
|
+
"Remote Work - Location": z.string().optional(),
|
|
136
|
+
"Salary Information": z.string().optional(),
|
|
137
|
+
"Sub Departments ": z.string().optional(),
|
|
138
|
+
birthDate: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
|
+
.optional(),
|
|
140
|
+
ethnicity: Ethnicity$inboundSchema.optional(),
|
|
141
|
+
gender:
|
|
142
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender$inboundSchema
|
|
143
|
+
.optional(),
|
|
144
|
+
sexualOrientation: SexualOrientation$inboundSchema.optional(),
|
|
145
|
+
startDate: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
146
|
+
.optional(),
|
|
147
|
+
}).transform((v) => {
|
|
148
|
+
return remap$(v, {
|
|
149
|
+
"Job Level": "jobLevel",
|
|
150
|
+
"People Manager (Reviews)": "peopleManagerReviews",
|
|
151
|
+
"Remote Work - Location": "remoteWorkLocation",
|
|
152
|
+
"Salary Information": "salaryInformation",
|
|
153
|
+
"Sub Departments ": "subDepartments",
|
|
154
|
+
});
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
/** @internal */
|
|
158
|
+
export type PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User$Outbound =
|
|
159
|
+
{
|
|
160
|
+
"Job Level"?: string | undefined;
|
|
161
|
+
"People Manager (Reviews)"?: string | undefined;
|
|
162
|
+
"Remote Work - Location"?: string | undefined;
|
|
163
|
+
"Salary Information"?: string | undefined;
|
|
164
|
+
"Sub Departments "?: string | undefined;
|
|
165
|
+
birthDate?: string | undefined;
|
|
166
|
+
ethnicity?: string | undefined;
|
|
167
|
+
gender?: string | undefined;
|
|
168
|
+
sexualOrientation?: string | undefined;
|
|
169
|
+
startDate?: string | undefined;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
/** @internal */
|
|
173
|
+
export const PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User$outboundSchema:
|
|
174
|
+
z.ZodType<
|
|
175
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User$Outbound,
|
|
176
|
+
z.ZodTypeDef,
|
|
177
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User
|
|
178
|
+
> = z.object({
|
|
179
|
+
jobLevel: z.string().optional(),
|
|
180
|
+
peopleManagerReviews: z.string().optional(),
|
|
181
|
+
remoteWorkLocation: z.string().optional(),
|
|
182
|
+
salaryInformation: z.string().optional(),
|
|
183
|
+
subDepartments: z.string().optional(),
|
|
184
|
+
birthDate: z.date().transform(v => v.toISOString()).optional(),
|
|
185
|
+
ethnicity: Ethnicity$outboundSchema.optional(),
|
|
186
|
+
gender:
|
|
187
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10UserGender$outboundSchema
|
|
188
|
+
.optional(),
|
|
189
|
+
sexualOrientation: SexualOrientation$outboundSchema.optional(),
|
|
190
|
+
startDate: z.date().transform(v => v.toISOString()).optional(),
|
|
191
|
+
}).transform((v) => {
|
|
192
|
+
return remap$(v, {
|
|
193
|
+
jobLevel: "Job Level",
|
|
194
|
+
peopleManagerReviews: "People Manager (Reviews)",
|
|
195
|
+
remoteWorkLocation: "Remote Work - Location",
|
|
196
|
+
salaryInformation: "Salary Information",
|
|
197
|
+
subDepartments: "Sub Departments ",
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @internal
|
|
203
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
204
|
+
*/
|
|
205
|
+
export namespace PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User$ {
|
|
206
|
+
/** @deprecated use `PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User$inboundSchema` instead. */
|
|
207
|
+
export const inboundSchema =
|
|
208
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User$inboundSchema;
|
|
209
|
+
/** @deprecated use `PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User$outboundSchema` instead. */
|
|
210
|
+
export const outboundSchema =
|
|
211
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User$outboundSchema;
|
|
212
|
+
/** @deprecated use `PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User$Outbound` instead. */
|
|
213
|
+
export type Outbound =
|
|
214
|
+
PropertyUserUrnIetfParamsScimSchemasExtensionLatticeAttributes10User$Outbound;
|
|
215
|
+
}
|