Skip to main content

ApiResponseStandardIamJobFunction

data object
assignedEmployeeCountinteger<int64>required
canArchivebooleanrequired
canDuplicatebooleanrequired
canDuplicateAtOrganizationboolean
Default value: false
canEditbooleanrequired
canHidebooleanrequired
canManageColorbooleanrequired
canRestorebooleanrequired
delegationBandStandardIamDelegationBandrequired

Possible values: [ORGANIZATION_AFFILIATION, BASE_EMPLOYEE, CASHIER, STOCK_PERSON, HEAD_CASHIER, ASSISTANT_MANAGER, MANAGER, STORE_OWNER, ORGANIZATION_OWNER]

descriptionstring
idstring<uuid>required
inheritedJobFunctions object[]required
  • Array [
  • delegationBandStandardIamDelegationBandrequired

    Possible values: [ORGANIZATION_AFFILIATION, BASE_EMPLOYEE, CASHIER, STOCK_PERSON, HEAD_CASHIER, ASSISTANT_MANAGER, MANAGER, STORE_OWNER, ORGANIZATION_OWNER]

    idstring<uuid>required
    namestringrequired
  • ]
  • kindStandardIamJobFunctionKindrequired

    Possible values: [PROTECTED, CUSTOM]

    namestringrequired
    policyGraph object[]required
  • Array [
  • actionstringrequired
    effectStandardIamAccessEffectrequired

    Possible values: [PERMIT, DENY]

    policyIdstring<uuid>required
    resourcestringrequired
  • ]
  • responsibilities object[]required
  • Array [
  • delegationBandStandardIamDelegationBandrequired

    Possible values: [ORGANIZATION_AFFILIATION, BASE_EMPLOYEE, CASHIER, STOCK_PERSON, HEAD_CASHIER, ASSISTANT_MANAGER, MANAGER, STORE_OWNER, ORGANIZATION_OWNER]

    delegationLevelinteger<int32>required
    descriptionstringrequired
    keyStandardIamResponsibilityKeyrequired

    Possible values: [resp.employee_self_service, resp.checkout, resp.cash_operations, resp.compliance_verification, resp.compliance_override, resp.refund_processing, resp.refund_approval, resp.discount_application, resp.inventory_viewing, resp.inventory_counting, resp.inventory_adjustment, resp.inventory_receiving, resp.inventory_transfers, resp.appointment_viewing, resp.appointment_operations, resp.team_scheduling, resp.staff_management, resp.store_administration, resp.store_ownership, resp.organization_membership, resp.organization_ownership]

    namestringrequired
    permissions object[]required
  • Array [
  • dangerousbooleanrequired
    displayNamestringrequired
    keystringrequired
  • ]
  • storeScopeAllowedbooleanrequired
  • ]
  • responsibilityCoverage object[]required
  • Array [
  • descriptionstringrequired
    grantedPermissionKeysstring[]required
    keyStandardIamResponsibilityKeyrequired

    Possible values: [resp.employee_self_service, resp.checkout, resp.cash_operations, resp.compliance_verification, resp.compliance_override, resp.refund_processing, resp.refund_approval, resp.discount_application, resp.inventory_viewing, resp.inventory_counting, resp.inventory_adjustment, resp.inventory_receiving, resp.inventory_transfers, resp.appointment_viewing, resp.appointment_operations, resp.team_scheduling, resp.staff_management, resp.store_administration, resp.store_ownership, resp.organization_membership, resp.organization_ownership]

    missingPermissionKeysstring[]required
    namestringrequired
  • ]
  • roleKeystringrequired
    scopeStandardIamScoperequired

    Possible values: [ORGANIZATION, STORE]

    statusStandardIamJobFunctionStatusrequired

    Possible values: [VISIBLE, HIDDEN, ARCHIVED]

    storeIdstring<uuid>
    error object
    codestring
    correlationIdstringnullable
    detailstring
    details objectnullable
    anyOf
    currentVersionstringnullable
    datesstring<date>[]required
    occurrenceRefsstring[]required
    requestIdsstring<uuid>[]required
    totalinteger<int32>required
    truncatedbooleanrequired
    fieldErrors objectnullable
    property name*stringnullable
    gatewayErrorCodestringnullable
    messagestring
    retryableboolean
    meta object
    limitinteger<int32>
    nextCursorstring
    pageinteger<int32>
    scheduleVersionstringnullable
    totalinteger<int64>
    totalPagesinteger<int32>
    successbooleanrequired
    ApiResponseStandardIamJobFunction
    {
    "data": {
    "assignedEmployeeCount": 0,
    "canArchive": true,
    "canDuplicate": true,
    "canDuplicateAtOrganization": false,
    "canEdit": true,
    "canHide": true,
    "canManageColor": true,
    "canRestore": true,
    "delegationBand": "ORGANIZATION_AFFILIATION",
    "description": "string",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "inheritedJobFunctions": [
    {
    "delegationBand": "ORGANIZATION_AFFILIATION",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "string"
    }
    ],
    "kind": "PROTECTED",
    "name": "string",
    "policyGraph": [
    {
    "action": "string",
    "effect": "PERMIT",
    "policyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "resource": "string"
    }
    ],
    "responsibilities": [
    {
    "delegationBand": "ORGANIZATION_AFFILIATION",
    "delegationLevel": 0,
    "description": "string",
    "key": "resp.employee_self_service",
    "name": "string",
    "permissions": [
    {
    "dangerous": true,
    "displayName": "string",
    "key": "string"
    }
    ],
    "storeScopeAllowed": true
    }
    ],
    "responsibilityCoverage": [
    {
    "description": "string",
    "grantedPermissionKeys": [
    "string"
    ],
    "key": "resp.employee_self_service",
    "missingPermissionKeys": [
    "string"
    ],
    "name": "string"
    }
    ],
    "roleKey": "string",
    "scope": "ORGANIZATION",
    "status": "VISIBLE",
    "storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    },
    "error": {
    "code": "string",
    "correlationId": "string",
    "detail": "string",
    "details": {
    "currentVersion": "string",
    "dates": [
    "2024-07-29"
    ],
    "occurrenceRefs": [
    "string"
    ],
    "requestIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "total": 0,
    "truncated": true
    },
    "fieldErrors": {},
    "gatewayErrorCode": "string",
    "message": "string",
    "retryable": true
    },
    "meta": {
    "limit": 0,
    "nextCursor": "string",
    "page": 0,
    "scheduleVersion": "string",
    "total": 0,
    "totalPages": 0
    },
    "success": true
    }